If you work with Git in the terminal there
are some tweaks you might want to apply to your prompt for safer
and faster coding. The following lines are part of my
~/.bash_profile file. I use it on Mac although that
might work in Linux as well.
You can copy and paste this code in your
~/.bash_profile (create it if it doesn't exist),
save and open a new terminal to see the...