git命令自动补全
git安装好后发现命令不能自动补全于是搜了很多方法,先按博客里面的方法试了下:
1.下载配置文件 git clone git://git.kernel.org/pub/scm/git/git.git
2.cp git/contrib/completion/git-completion.bash ~/.git-completion.bash
3.在.bashrc中添加 source ~/.git-completion.bash
4.source ~/.bashrc
git安装好后发现命令不能自动补全于是搜了很多方法,先按博客里面的方法试了下:
1.下载配置文件 git clone git://git.kernel.org/pub/scm/git/git.git
2.cp git/contrib/completion/git-completion.bash ~/.git-completion.bash
3.在.bashrc中添加 source ~/.git-completion.bash
4.source ~/.bashrc