OSX - Installed git on OS X; What should I add to my PATH?
Translations
Englishالعربية
български
català
中文
čeština
dansk
Nederlands
eesti
suomi
français
Deutsch
Ελληνικά
עברית
हिंदी
magyar
Bahasa Indonesia
italiano
日本語
한국어
latviešu
lietuvių
norsk
polski
Português
română
русский
slovenčina
slovenski
español
svenska
ไทย
Türkçe
українська
Tiếng Việt
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
This question and answers originated from www.stackoverflow.com
Question by Ethan (9/27/2009 6:26:51 PM)
Answer |
No, all you need to add is /usr/local/git/bin. You can test this by running it directly:
/usr/local/git/bin/git
and see whether it works.
Answer by Greg Hewgill
Find More Answers
Related Topics osx git version-control