Hackathons/Laptop setup/Windows git

One step to install
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 (including the first choice of "Use Git Bash only").


 * http://msysgit.googlecode.com/files/Git-1.7.11-preview20120704.exe

Configure git: name and email address
The final step for configuring git is to tell git your name and email address. To do that, open up Git Bash, which should appear in Start -> Programs -> Git -> Git Bash.

In this special terminal, type this command to set your name (replacing Mister Roboto with your name):

git config --global user.name "Mister Roboto"

In the same terminal, type this command to set your email address. (Be sure to replace myself@example.com with whichever email address you use!) Later, Git will store your name and email address along with your changes whenever you commit changes to the git repository.

git config --global user.email myself@example.com

Two more things: let's enable color, just to make your life easier.

git config --global color.ui true

One more thing: let's complete the installation. Type this command then enter.

exit

Okay, that's it!

Return to laptop setup
&laquo; Return to laptop setup