Re:Display your current git branch as part of your bash prompt
by eapen on Sunday August 16, 2009 @09:32PM
(#767151)
This is cool.. but how do I undo this?
[ Parent
| on HN ]
Re:Display your current git branch as part of your bash prompt
by kd5bjo on Sunday August 16, 2009 @09:36PM
(#767153)
You can set your prompt to whatever you want by running `export PS1=...`. What the default is depends on which version of unix you're running. Often, you can get your original prompt back by running `source ~/.bashrc`.
Barring that, logging out and back in will definitely fix it, as long as you didn't put it in one of your bash config files.