-1

I tried making a git commit and push from my VS Code application. Immediately after making the commit and push, I realized that my mac terminal was in a different state. This is the image. Can someone help me revert back to my original mac terminal? Your help is much appreciated!

torek
  • 448,244
  • 59
  • 642
  • 775
darkhorse
  • 33
  • 1
  • 2
  • Note that modern macOS sets your shell to zsh (not bash or tcsh) by default. Prompts are produced *by* your shell, using rules that are specific *to* your shell, so which shell you've chosen is the first question you must address. After that, the next question is *are you using someone's prompt package for that shell* and then (if so) *whose / which*. This has little if anything to do with Git, though there are numerous prompt packages that will show some Git state *in* the prompt. – torek Jun 23 '22 at 11:13

1 Answers1

3

That looks like the oh-my-zsh robbyrussell prompt to me.

Maybe VS Code changed your default shell (which was bash I suppose).

Try changing the default shell back to /bin/bash.