Open Source Comes to Campus/Curriculum/Laptop setup/Windows git: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
== Set your user name and email == |
== Set your user name and email == |
||
You'll also want to tell git your name and email address. To do this, type: |
You'll also want to tell git your name and email address. To do this, type the following into '''Git Bash''': |
||
git config --global user.name " |
git config --global user.name "Your Name" |
||
git config --global user.email "your email" |
git config --global user.email "your email" |
||
You can test that they've successfully been set by typing: |
You can test that they've successfully been set by typing: |
||
git config --global user.name |
git config --global user.name |
||
git config --global user.email |
git config --global user.email |
||
For each line above, it should print the settings that you chose. |
|||
== Return to laptop setup == |
== Return to laptop setup == |
||
Revision as of 15:26, 28 September 2013
Just one step
To install git on Windows, download and install this .exe.
Note: It will ask you a bunch of questions. It is a good idea to accept the defaults.
Once that is installed, launch Git Bash by doing:
- Start -> All Programs -> Git -> Git Bash
Set your user name and email
You'll also want to tell git your name and email address. To do this, type the following into Git Bash:
git config --global user.name "Your 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
For each line above, it should print the settings that you chose.