I installed Git on my Mac but I do not know how to run it or access it. From the terminal I type git but it says "command is invalid."
I downloaded git from http://code.google.com/p/git-osx-installer/downloads/list?can=3 and I downloaded the package "Git Installer 1.7.3.5 - OS X - Leopard - x86_64."
UPDATE 1:
The content of the package is the following:
- README.txt
- git-1.7.3.5-x86_64-leopard.pkg
- setup git PATH for non-terminal programs.sh
- uninstall.sh
When I execute "setup git PATH for non-terminal programs.sh," I get the following messages:
No change to PATH in ~/.MacOSX/environment.plist
~ /Volumes/Git 1.7.3.5 x86_64 Leopard /Volumes/Git 1.7.3.5 x86_64 Leopard -MacBook-Pro:Git 1.7.3.5 x86_64 Leopard$ $PATH -bash: /usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec: No such file or directory
UPDATE 2:
The content of my profile file is the following one:
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
See Question&Answers more detail:os