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




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:

Leave a Reply

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