Archive for the 'Bash' Category

Getting Git, Subversion and Bazaar Version Control Information into your Bash Prompt

Here are some must have bash PS1 commands if you’re working in multiple branches with various SCMs like git, svn or bzr. With this in your .bash_profile you’ll end up getting the following PS1

wesmaldonado:(git)gchartrb[master]/$ wesmaldonado:(svn)wumpus_project[trunk:141279]/$

Found at Lazy Bash cd aliases. The latest can be pulled from github: