I have homebrew installed git. I want to use the local installed git instead of the system built in version in bash.
Brew has created symbolic link to the git package it installed in /usr/local/bin
How should I edit .bash_profile so that I can use the version brew installed other than the one system built in?
You can alias commands to whatever you wish in your
.bash_profile.alias git=/path/to/your/gitYou can use
which gitto tell which git you are in fact using. Remember tosource ~/.bash_profileor use a fresh terminal to see the change.