![]() To avoid issues with different versions, you might want to make sure any old versions are gone from your hard drive. How to install Git on Mac OS X 1) Install Git on Mac OS X with the Git OS X installer The simplest way to install Git on Mac OS X is to use a project. Xcode 4.3 puts giy and other tools in Applications/Xcode.app/Contents/Developer/usr/bin. It might be simplest to maintain git after getting the (currently) free Xcode from the App Store. Xcode 4(4.0-4.2) drops git into /Developer/usr/bin along with most of the other tools you need like make and gcc. bashprofile file is loaded on a Terminal window's opening. Of course, you'll have to close the Terminal window and open a new one because the. ![]() Most installations of git should survive an upgrade to Lion and you only have to clean up your environment or link to the binary from somewhere in your $PATH. If you use Mac's terminal with Git, then adding the above PATH specification to your. The command line mdfind -name git will list all files that spotlight has seen with git in the name. The simplest way to install Git on Mac OS X is to use a project named Git OS X installer, which is hosted on Google Code. 1) Install Git on Mac OS X with the Git OS X installer. Do try to get the same or newer version of git. The first approach is to use a Mac GUI installer, and the second is to use the command-line MacPorts project to install Git on Mac OS X. Using spotlight to search your Time Machine backups might be fruitful to find the files and know if it's a path issue or the binaries are truly gone after Lion migrated your data.Īll of your repos stored in user space are fine. You'll need to find your copy of git or just get a new copy. Lion (and Snow Leopard) didn't ship with git - so perhaps the way you installed git didn't survive the upgrade.
0 Comments
Leave a Reply. |