DEV Community

Bianca Luísa
Bianca Luísa

Posted on

How to see current branch - Vscode - Linux - Terminal

Add the follow code at bashrc

export PS1='\u@\h\[\033[01;34m\] \w\[\033[0;32m\]$(__git_ps1 " (%s)")\[\033[01;34m\]$\[\033[00m\] '

Then, run source ~/.bashrc

Top comments (0)