There are the steps on how to enable tab completion in git
1. Download git-completion.bash to your home directory and name it .git-completion.bash
https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
2. Add source ~/.git-completion.bash to your .bash_profile file
3. Reload .bash_profile file: source ~/.bash_profile
Now you should be able to tab complete your git commands.
No comments:
Post a Comment