First lets get the auto completed code
1 |
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash |
Now add to your .bashrc or .bash_profile
1 2 3 |
if [ -f ~/.git-completion.bash ]; then . ~/.git-completion.bash fi |
To enable Git color coding
1 2 |
git config color.ui git config --global color.ui true |
Leave a Reply