How to configure Git under Windows

Source: Internet
Author: User
Tags version control system

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.