Giorgio Ciancaleoni
Giorgio Ciancaleoni

Reputation: 1

How to reset Git back to normal?

When I open the terminal I see this:

giorgio (master #) ~ $:

How do I exit the "master #" and go back to the normal view:

giorgio ~ $

?

Upvotes: 0

Views: 296

Answers (1)

Gabi
Gabi

Reputation: 590

If you have something like me then maybe this helps:

open your ~/.bash_profile or ~/.bashrc ,and search for something like export PS1='[\u@mbp \w$(__git_ps1)]\$

__git_ps1 is showing you the branch

You can remove/customize PS1 if you don't want.

Read more about this sort of settings here: https://gist.github.com/trey/2722934

Upvotes: 2

Related Questions