DEV Community

Discussion on: How to add git branch name to shell prompt in Ubuntu

Collapse
 
ameernormie profile image
Ameer Hamza

Awesome article. One gotcha though, If I make a new branch from the terminal it doesn't immediately reflect the changes. I have to open a new terminal or run source ~/.bashrc again

Collapse
 
sonyarianto profile image
Sony AK

Thanks for the comment, yes yes you are right. I update also the article.