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

From OpenHatch wiki
Revision as of 05:25, 2 December 2018 by Asheesh (talk | contribs) (Use git-scm.com which auto-calculates the best Windows version I guess but is an annoying drive-by download but oh well OK)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Just one step

To install git on Windows, download and install via .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.

Sign up for a Github account

You can do so at this link.

Return to laptop setup

« Return to laptop setup