Git Bash Auto-Completion on Mac
Posted:
Thursday, August 6th, 2015Last modified:
Thursday, August 6th, 2015Your OS X version of Git may not come with the Git Bash autocompletion scripts. You can add them as follows.
- Download the script to your home folder.
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash \ -o ~/git-completion.bash
- Add the following to your ~/.bash_profile:
if [ -f ~/.git-completion.bash ]; then source ~/.git-completion.bash fi
References
Available Wiki Topics
The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.