参考自:http://www.jeffkit.info/2010/12/842/
十分感谢作者!
相关的文章: 《a-successful-git-branching-model》及《why-arent-you-using-git-flow》
https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion
https://github.com/bobthecow/git-flow-completion
安装git
1 sudo apt-get install git git-core bash-completion
安装git flow
1 git clone git://github.com/nvie/gitflow.git gitflow
2 cd gitflow
3 git submodule init
4 git submodule update
5 sudo make prefix=/usr/local install
或者
sudo apt-get install git-flow
Install git-flow-completion.bash
.
https://github.com/bobthecow/git-flow-completion/blob/master/git-flow-completion.bash
Place it in your bash_completion.d
folder, usually something like /etc/bash_completion.d
, /usr/local/etc/bash_completion.d
or ~/bash_completion.d
.
安装好后测试下git flow
git --version