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, there is a man has the simulation environment and GIT are packaged, this is msysgit, only need to download a separate EXE installer, and nothing else to install, absolutely easy to use.
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.
[Git] installing Git on windows