最佳答案
我一直在观看一些 TeamTreehouse 的视频,当使用 Git 时,它们有一个非常漂亮的终端。
例如,他们有(类似的东西) :
mike@treehouseMac: [/Work/test - feature-branch-name] $ git add .
mike@treehouseMac: [/Work/test - feature-branch-name] $ git commit -m "Some feature."
mike@treehouseMac: [/Work/test - feature-branch-name] $ git checkout master
mike@treehouseMac: [/Work/test - master] $ git status
How can my terminal show me some useful information of what branch I'm on, with colors to distinguish bits of the data I want? Is there some sort of de-facto plugin I haven't found yet?
我用的是 Mac OSX 10.8