Bash prompt with Git branch indicator

To make your terminal prompt more helpful than just telling you what directory you are in, you can make it include your full location and your current git branch. To do so, do the following 2 steps:

1) In your terminal, logged into your dev run:

curl -o ~/ -k

Then in your dev open the file .bash_profile and replace all the code with

# .bash_profile


Subscribe to RSS - GIT