I just installed git 1.6.4.4 after downloading a DMG package from here.
I now have /usr/local/git. But it isn’t in my PATH. So I need to add it.
My question is, should I add just /usr/local/git/bin, or do I also need to add one or more of these other directories?
$ cd /usr/local/git/
$ ls -al
total 0
drwxr-xr-x 3 joefleen wheel 102 Sep 17 12:22 Library
drwxr-xr-x 9 root wheel 306 Sep 27 11:09 bin
drwxr-xr-x 3 root wheel 102 Sep 17 12:22 contrib
drwxr-xr-x 3 root wheel 102 Sep 17 12:22 lib
drwxr-xr-x 3 root wheel 102 Sep 17 12:22 libexec
drwxr-xr-x 6 root wheel 204 Sep 17 12:22 share
No, all you need to add is
/usr/local/git/bin. You can test this by running it directly:and see whether it works.