Eran Kampf
Eran Kampf
1 min read

Show the Current GIT Branch in Your Command Prompt

One fo the most confusing things when working with multiple branches on git is having to remember the branch you’re currently working on.
Typing git branch all the time is annoying…

Thats why I’ve set my shell’s prompt to display the current branch!
Just add the following to your ~/.profile file: