Run the following:
$ curl -L https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git
And add this to the top of your ~/.bashrc
:
source ~/.bash_git
Re-login to your shell and you should be set.
Run the following:
$ curl -L https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git
And add this to the top of your ~/.bashrc
:
source ~/.bash_git
Re-login to your shell and you should be set.