Show current branch on terminal
问题 Is there any way to show in Terminal of VS Code to show in brackets current branch ? I saw it somewhere but not sure how it can be done. By some extension or whatever.. C:/myUser/project> git status I would like to see it something like: C:/myUser/project>(master) git status 回答1: For Linux Terminal You can modify the PS1 variable. PS1 is a Bash Environment Variable that represents the primary prompt string which is displayed when the shell is ready. You can achieve your result by modifying