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 -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 🙂

1 thought on “Git auto-complete for Mac

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.