Auto updating the prompt isn't possible in CMD unfortunately. I do believe it's possible in powershell, but that's not my cup of tea. I do have a batch script that gets the branch and re-sets my prompt. You could create a git.bat that calls such a script on every git command, or like me, create `vf.bat` that I use to cd and update the prompt at once.
Also in this picture: cmd.exe running inside tmux in WSL. Coming soon to Insider's Builds near you
posh-git is a great powershell module that shows your current branch, has customizable colors, and adds tab completion to git commands. I think that stuff should stay as add-ons rather than be built into the console host.
Comments
Can't answer iTerm2, but I use Cmder daily. I don't think the Windows Console can (as I want for day-to-day usage)
1) show the Git branch in the prompt 2) display nice colours 3) open multiple tabs
Looking forward to being proved wrong :) Cmder works well for me but I'd rather have something core to Windows to use instead.
Do you mean any of the following: https://i.imgur.com/zyC4A73.png
Colors can be customized, but changing them is a PITA so we made (ColorTool)[https://github.com/Microsoft/console/tree/master/tools/Color...] to make it a little easier
Auto updating the prompt isn't possible in CMD unfortunately. I do believe it's possible in powershell, but that's not my cup of tea. I do have a batch script that gets the branch and re-sets my prompt. You could create a git.bat that calls such a script on every git command, or like me, create `vf.bat` that I use to cd and update the prompt at once.
Also in this picture: cmd.exe running inside tmux in WSL. Coming soon to Insider's Builds near you
posh-git is a great powershell module that shows your current branch, has customizable colors, and adds tab completion to git commands. I think that stuff should stay as add-ons rather than be built into the console host.