I\'m trying to change my command promt in terminal. I keep getting the error:
-bash: __git_ps1: command not found
I\'ve tried it just by typing
At least with Xcode 6, you already have git-completion.bash. It's inside the Xcode app bundle.
git-completion.bash
Just add this to your .bashrc:
source `xcode-select -p`/usr/share/git-core/git-completion.bash