Git for Windows installation methods

Source: Internet
Author: User
Tags git commands

In simple terms, git is a free and open-source version control software. In terms of functions, it is no different from the version control software like subversion (SVN) that we are familiar. Due to work requirements, you need to install git under WINXP to cooperate with the team to complete the corresponding work. It has been used in other systems for a long time. Today, the installation was successful after being instructed by longma in Drupal garden, share with children's shoes if necessary.

Get git software:

You can obtain the GIT software in two ways: one is obtained on the official website and the other can be downloaded here. Download a version that supports WINXP.

Install git on WINXP

Follow these steps to install git in WINXP:

After you click "finish", the GIT installation is complete. After the installation is complete, you need to set the environment variables. For detailed steps to change the environment variables, refer:

Open "id_rsa.pub" in the text editor to view the public key content:

Ssh-RSA Secure + secure // wee7ufkibcqd3nghstkb + 0js8ncmwldhmxixzewufxgt/secure + 8ji2oxdawy1_q + w9hq = airenliao@gmail.com

In this case, you only need to put your public key into the service of your project to perform Git-related operations.

For more git commands, visit the official website or click here to view more commands.

Solve the problem of Chinese directory support by the way:

1. ls cannot display Chinese Directories

Work und: add a line in git/etc/git-completion.bash:

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

2. Git commit cannot submit Chinese comments

Solution: Modify the lines in git/etc/inputrc:

Set output-meta on

Set convert-meta off

3. Git log cannot display Chinese comments

Solution: add a line in git/etc/profile:

Export lesscharset = iso8859

At this time, we have introduced how to install git in WINXP. I hope this will help some friends. At the same time, I hope my friends will pay attention to w3cplus, because only your attention can bring me growth.

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.