It’s the simple things…. OSX Git branch autocompletion.

 

From http://code-worrier.com/blog/autocomplete-git/

 

Get the script:

Add to ~/.bash_profile:

Changes will be picked up in new terminal tabs, or run

to reload your profile in the current tab.

[EDIT] I recently updated my terminal setup with powerline and it really doesn’t like the old Git autocomplete for some reason, so here’s one that it does:
https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion

Leave a Reply

Your e-mail address will not be published. Required fields are marked *