I am trying to install Git on my Mac (OSX 10.6) following the official Git tutorial.
I had no problem until I had to set my username and my email.
Every time I tried I got -bash: git: command not found
I tried echo 'export PATH=/usr/local/git/bin:$PATH' >> ~/.profile
+ restarted the Terminal. It still doesn't work.
What do you think I should do to solve the problem?
I've never used the OSX GIT installer before and don't really want to.
Edit 1: the command issue is fixed
Edit 2: the result of the command /usr/bin/grep PATH .*
is
.bash_history:echo 'export PATH=/usr/local/git/bin:$PATH' >> ~/.profile
.bash_history:echo $PATH
.bash_history:echo $PATH
.bash_history:echo 'export PATH=/usr/local/git/bin:$PATH' >> ~/.profile
.bash_history:echo $PATH
.bash_history:echo 'export PATH=/usr/local/git/bin
.bash_history::$PATH' >> ~/.profile
.bash_history:echo 'export PATH=/usr/local/git/bin
.bash_history:echo 'export PATH=/usr/local/git/bin
.bash_history:echo 'export PATH=/usr/local/git/bin
.bash_history::$PATH' >> ~/.profile
.bash_history:echo 'export PATH=/usr/local/git/bin:$PATH' >> ~/.profile
.bash_history:echo $PATH
.bash_history:echo 'export PATH=/usr/local/git/bin:$PATH' >> ~/.profile
.bash_history:echo $PATH
.bash_history:echo $PATH
.bash_history:echo $PATH
.profile:export PATH=/usr/local/git/bin:$PATH
.profile:export PATH=/usr/local/git/bin:$PATH
.profile:export PATH=/usr/local/git/bin:$PATH
.profile:export PATH=/usr/local/git/bin:$PATH
.profile:export PATH=/usr/local/git/bin:$PATH
.profile:export PATH=/usr/local/git/bin:$PATH