Found this useful piece of code to put into .bashrc, which shows the current branch when the current working directory is versioned by git.
Tag Archives: shell
Showing current git branch on shell prompt
2
Found this useful piece of code to put into .bashrc, which shows the current branch when the current working directory is versioned by git.