1. Install git
The main reference is the "use GitHub-Liaoche official website"
Download and installation of the software
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 the Windows version of Git, the domestic mirror address
When the download is complete, press the default option to install it
Verify that the software is installed successfully
When the installation is complete, find Git Bash in the Start menu
Jumping out of something like a command-line window means that Git was installed successfully!
git settings
$ "Your Name"$ "[email protected]"
Here's your name for your username on GitHub
[Email protected]mple.com for your email on GitHub
Because Git is a distributed version control system, every machine must be tell: your name and email address.
Note the –global parameter of the git config command, which uses this parameter to indicate that all git repositories on your machine use this configuration, but you can also specify a different user name and email address for a particular repository.
How to configure Git under Windows