Home > Software engineering >  After git commit, push then command line are changed
After git commit, push then command line are changed

Time:05-05

I just commit with message that "blah blah ~ ... in wip". and command changed like below picture. before the commit it wasn't and blank on this here. has anyone know this why happened? enter image description here

CodePudding user response:

Your shell is showing the current state - Your workspace (~/Doc/G/ecg-dbn) and Current git branch (master wip).

According to this answer, to remove it, you can try adding export PS1=xxxxx to ~/.zshrc, if you are using zsh

  • Related