If I haven’t told you yet, Git is awesome and yes I do most og the work from the command-line, so in order to make my life easier I did two things:
1 2 |
|
Upon next login (or execute source /etc/bash_completion.d/git) right away and you have all the bash completion you need for git at your finger tips.
Another awesome script to make your life easier with git is git-prompt.sh which you can also include in your bash profile like so:
1
|
|
then add a line to ~/.profile sourcing it upon login shell, see header of git-prompt.sh for more details.