To be honest, Windows is the worst development platform, and Windows is generally not recommended if you are not developing Windows games or debugging pages in IE. However, since already on the pirate of Microsoft, there is a way to install Git.
When you want to use a lot of Linux/unix tools under Windows, you need to cygwin such a simulation environment, GIT is the same. Cygwin installation and configuration are more complex, it is not recommended that you toss. However, a man has already put the simulation environment and git are packaged, called Msysgit, only need to download a separate EXE installation program, and nothing else to install, absolutely good.
Msysgit is a Windows version of Git, downloaded from http://msysgit.github.io/, and then installed by default.
After the installation is complete, find Git Bash in the Start menu and pop out a command-line window that shows that the GIT installation was successful!
After the installation is complete, you will need the final step, and at the command line, enter:
$ git config --global user.name "Your Name"$ git config --global user.email "[email protected]"
Because Git is a distributed version control system, every machine must be tell: your name and email address. You may be worried, what if someone pretends to be someone else? This does not have to worry, first of all we believe that we are good and ignorant of the masses, and secondly, there is a fake there are ways to check.
Note that the parameters of the git config
command, --global
using this parameter, means that all of your git repositories on this machine will use this configuration, of course, you can also assign a different user name and email address to a warehouse.
Install Git on Windows