Git and GitHub configuration in a Windows environment

Source: Internet
Author: User

Needless to say about git and GitHub, take a look at the steps to configure the GIT and GitHub environments under Windows

1. First, you need to install Git, as shown in:

2. Register your GitHub account

3. Generate Shh Key

The default mode of communication GitHub chooses is SSH, so first generate Shh Key in git and open git bash to enter the following command:

Then all the way next, that's it.

3. Go to the System Users folder to copy Shh Key

The specific path is:c:\users\{username}\.ssh

Open the id_rsa.pub file with Notepad and copy all of its contents.

3. Login to GitHub for relevant configuration

Then just fill in the contents of the copy, and Git's configuration is basically complete.

4. Test whether the configuration is successful

Execute command:ssh-t [email protected], if the hint appears, it indicates that the configuration was successful.

5. Build a local git repository

To configure the identity information:

git config--global user.name ' wuwz '--global user.email [email protected]

To create a local warehouse:

CD/Cmkdir GitHub

For more information on git and GitHub, please follow me on to add.

Git and GitHub configuration in a Windows environment

Related Article

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.