I have installed GIT on my Mac mountain lion 10.8.5 I cannot get the GIT commands to execute.
original issue: terminal
git init new_repository
dyld:lazy symbol binding failed: symbol not found
I found several posts relating to the $PATH and I am close to understanding the concepts of these paths but I am uncertain as to where I should be, which directory ?? I should run the following command. git init new_repository
This was suggested in post and had 53 up votes.
how do I add /usr/local/git/bin/ to the PATH on mac osx?
Begin of that posted answer You can add the following to ~/.bash_profile:
export PATH=/usr/local/git/bin:$PATH
The change will get applied with the next terminal window you open. End of answer.
Editing my .bash_profile with the above code did not change anything.
Below is my current path. Maybe someone will notice something that I am missing.
~ mycomputer $ echo $PATH
~ mycomputer $ pwd
/Users/mycomputer
~ mycomputer $ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin
mycomputer:~ mycomputer$
I want to be able to run git from terminal. Can someone explain Things ? Which file do I modify to include What PATH ?
thanks