Open Source Comes to Campus/Curriculum/Laptop setup/OSX git: Difference between revisions

Recommend git-scm.com for Mac
imported>Shauna
(Recommend git-scm.com for Mac)
 
(One intermediate revision by one other user not shown)
Line 9:
Great, you have git installed! If it returns some kind of error, such as "No command 'git' found", go ahead and install it.
 
== Downloading git if needed ==
== The install depends on your version of Mac OS ==
 
For Mac OS Snow Leopard (10.6) or Lion (10.7) or 10.8:
 
* Install this DMG: http://git-osx-installer.googlecode.com/files/git-1.8.1.2-intel-universal-snow-leopard.dmg
 
For other versions of Mac OS:
 
* GoVisit through this [httphttps://code.googlegit-scm.com/pdownload/git-osx-installer/downloads/listmac longand listdownload ofthe options]DMG. and pickOpen the onedisk best-suitedimage toand yourfollow the computerinstructions. If you're not sure what to do, ask an instructor.
 
== Set your user name and email ==
 
You'll also want to tell git your name and email address. To do this, open a terminal and type:
 
git config --global user.name "your-user-name"
Line 28 ⟶ 24:
You can test that they've successfully been set by typing:
 
git config --global user.name "your-user-name"
git config --global user.email