How can I configure the terminal to display the current git branch?
I'd like to see the second line rather than the first:
andy@bob:~/my_projects/project_x$
(master)~/my_projects/project_x$
I don't want to have to run git status
to see which branch I am currently on anymore!
contrib/completion/git-prompt.sh
file from Git’s source repository ..." which would be here. Further step-by-step instructions are found in the file itself.