Git installation diagram under Windows system

Source: Internet
Author: User
Tags git commands

In short, Git is a free, open source version control software that is functionally different from the version control software that we are familiar with, such as Subversion (SVN). Due to the needs of the work, the need to install git under the WinXP team to complete the corresponding work, has been used in other systems, and today through the Drupal Garden Dragon Horse guidance finally installed successfully, specially posted out with the need for children's shoes to share.

Get git software:

There are two ways to get Git software, one is on the official website , and the other is available for download here. Just one thing to note is the need to download a version that supports the WinXP system.

Git in WinXP installation process

The detailed steps for installing git under WinXP refer to the following installation:

Click on the "Finish" after the installation of Git is complete, after the installation is completed, you need to set the environment variable, the specific steps to change the environment variables can be consulted:

Generate SSH Public key

Double-click Git on the desktop to run the program:

To start the Git run program:

In the program, enter:

1, configure email, command as follows:

   $git config--global user.name "your name"   $git config--global user.email "[Email protected]"

where "your name" is replaced by your name, "[email protected]" replaced by your email address.

2. Generate the public key for identity authentication:

  Ssh-keygen.exe-c "[Email protected]"-t RSA

This allows you to get the required public key under your user, and the public key is located under the "id_rsa.pub" file of "C:\Documents and Settings\airen\.ssh" in your computer:

You can see the contents of the public key by opening "Id_rsa.pub" with a text editor:

Ssh-rsa aaaab3nzac1yc2eaaaabiwaaaqeas1c3zl3ibjhmbscwooz7whlkga7xq+5inquctqmz7xqbclvewofdd4byts99x+ xfnxggslil85wrofxx9zh27zmpr3z8kwp3pekfovk7ilmt0b9lzqhgpull76q7d2ked8se9gv4fnxg05zk6auzm70cbj9szqjv// wee7ufkibcqd3nghstkb+0js8ncmwldhmxixzewufxgt/ d4egqca6ijjuj9iliydzzlwwzkoh1wugdu5lae1qptipat50uwxpnlsbpoqznbjjhg+ as9if6trkg4yzkwzsbtp725bjdcwkarhwrrkj2cwugcjyrycy+8ji2oxdawyjwq+w9hq== [email protected]

Just put your public key in the service of your project and you can do git-related operations.

More about GIT commands can be found on the website , or click here to see more command operations.

By the way, troubleshoot the Chinese catalog support issue:

1, LS can not display the Chinese catalog

Workaround: Add a line to the Git/etc/git-completion.bash:

  Alias ls= ' ls--show-control-chars--color=auto '

2. Git commit cannot submit Chinese comment

Workaround: Modify the corresponding line in the GIT/ETC/INPUTRC:

  Set Output-meta on  

3. Git log cannot display Chinese comments

Workaround: Add a line to the Git/etc/profile:

  Export lesscharset=iso8859

Then there is about git in the WinXP under the introduction of the installation, I hope this can give some friends to bring some help. At the same time more hope that friends pay attention to w3cplus, because only your attention can bring me growth.

Git installation diagram under Windows system

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.