mac git auto-completion

http://webdizz.name/blog/2012/01/31/git-auto-complete-for-mac/

Git auto-complete for Mac

If you faced with problem that out-of-the-box Git under Mac has no auto-complete functionality you can go this way:

curl https://github.com/git/git/raw/master/contrib/completion/git-completion.bash -OL

Copy it to, for example,

cp git-completion.bash ~/.git-completion.bash

Then open your ~/.bash_profile or ~/.profile and append next string

source ~/.git-completion.bash

Thats’s it :)

你可能感兴趣的:(iOS)