Configuring Git under Windows system

Source: Internet
Author: User

Date: 2014.08.01

Location: Base

-------------------------------------------------------------------------------------

First, download the installation


1. Download the Windows version of the GIT installation package:


2. Some of the setup procedures are as follows:






3. Other default, until finish

-------------------------------------------------------------------------------------

Second, configure the GitHub SSH key1. Open git bash to see if an SSH key already exists on your computer.

Input: Cd~/.ssh

If shown below, you need to create a new Ssh.key


2. Create a new SSH key

Input command: ssh-keygen-t rsa-c "[Email protected]"

The message contains the file save path: The contents of this build file are then used to set up the GitHub account


Then enter and prompt for and confirm the password


3. Copy ssh key to GitHub

3.1 Open GitHub website, go to your Account page, click the Settings icon (wrench icon) in the upper right corner

3.2 Click on SSH key to set the left column of the page and go to SSH key to add the page


3.3 Click Add SSH Key, locate the Id_rsa.pub file under the path mentioned above, and copy its contents into the key bar to confirm. (If you encounter this problem, click on Add SSH key does not respond, you can switch to IE browser to open the page)

-------------------------------------------------------------------------------------

4. Testing

Input: ssh-t [email protected]

After you enter the password, the following message appears indicating that the link was successful






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.