CLOSED – Just install git but the console don't recognise the git commands
I’m new here and I want to know how to use Bitbucket so I followed these instructions.
At the 7th instruction, after successfully installing Git as they said I have on the console
I have the file
git-188.8.131.52-intel-universal-snow-leopard.dmg in my
What should I do to have
git recognized by the console?
I have been told to do
echo "PATH=$PATH/Downloads" >> .bashrc
or to use a Source tree.
The first one didn’t work and I don’t see the utility or using a Source Tree.
2 Solutions collect form web for “CLOSED – Just install git but the console don't recognise the git commands”
Adding a directory to your
$PATH usually doesn’t take effect until you log out and log in again (or at the very least restart your terminal). Try that, and then see if you can run
SourceTree is a free graphical Git / Mercurial client from Atlassian for Windows and OSX. You may want to try that out instead of (or in addition to) the command-line interface.
Seems the PATH “/usr/local/bin” is not in your default path, you can edit your local profile ~/.profile and add below line in it to fix this issue.