Open Source Comes to Campus/Curriculum/Laptop setup/OSX git: Difference between revisions
Open Source Comes to Campus/Curriculum/Laptop setup/OSX git (view source)
Revision as of 05:30, 2 December 2018
, 5 years agoRecommend git-scm.com for Mac
imported>Shauna No edit summary |
(Recommend git-scm.com for Mac) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1:
Git sometimes comes pre-installed on Mac. To see if this is true for your machine, type in [[
git --version
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 ==
For other versions of Mac OS:▼
* Visit https://git-scm.com/download/mac and download the DMG. Open the disk image and follow the instructions. If you're not sure what to do, ask an instructor.
== Set your user name and email ==
▲For other versions of Mac OS:
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"
git config --global user.email "your email"
You can test that they've successfully been set by typing:
git config --global user.name
git config --global user.email
== Sign up for a Github account ==
You can do so at [https://github.com/users this link].
== Back to laptop setup ==
|