Editing Open Source Comes to Campus/Curriculum/Laptop setup/Windows git

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
== Just one step ==
 
== Just one step ==
  
To install git on Windows, download and install via .exe.
+
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.
 
'''Note''': It will ask you a bunch of questions. It is a good idea to accept the defaults.
  
* https://git-scm.com/download/win
+
* https://msysgit.googlecode.com/files/Git-1.8.1.2-preview20130201.exe
[[File:git1.png]]
 
 
 
[[File:git2.png]]
 
 
 
[[File:git3.png]]
 
 
 
[[File:git4.png]]
 
 
 
[[File:git5.png]]
 
 
 
[[File:git6.png]]
 
 
 
[[File:git7.png]]
 
 
 
[[File:git8.png]]
 
 
 
[[File:git9.png]]
 
  
 
Once that is installed, launch '''Git Bash''' by doing:
 
Once that is installed, launch '''Git Bash''' by doing:
  
 
* Start -> All Programs -> Git -> Git Bash
 
* Start -> All Programs -> Git -> Git Bash
 
[[File:git10.png]]
 
  
 
== 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 the following into '''Git Bash''':
+
You'll also want to tell git your name and email address.  To do this, type:
  
     git config --global user.name "Your Name"
+
     git config --global user.name "your-user-name"
 
     git config --global user.email "your email"
 
     git config --global user.email "your email"
 
[[File:git11.png]]
 
  
 
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 "your-user-name"
 
     git config --global user.email
 
     git config --global user.email
 
For each line above, it should print the settings that you chose.
 
 
[[File:git12.png]]
 
 
== Sign up for a Github account ==
 
 
You can do so at [https://github.com/users this link].
 
  
 
== Return to laptop setup ==
 
== Return to laptop setup ==
  
 
« [[../|Return to laptop setup]]
 
« [[../|Return to laptop setup]]

Please note that all contributions to OpenHatch wiki are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see OpenHatch wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)