Menu Home

git

git自动补全

OS : mac os x git clone git://git.kernel.org/pub/scm/git/git.git cp git/contrib/completion/git-completion.bash ~/.git-completion.bash 在~/.profile中加入如下行: test -r ~/.git-completion.bash && . ~/.git-completion.bash