Configure git in windows and git in windows

Source: Internet
Author: User

Configure git in windows and git in windows
1. Download the windows version of git: http://git-scm.com/downloads from the git Official Website

2. Generally, you can use the default settings: next, git installation is complete!

3. If you open windows cmd and run the git command in it, the system prompts "it is not an internal or external command or a program that can be run ", to directly use the git command in windows cmd, add the following two steps:

(1) locate the bin location in the git installation path, for example, D: \ Program Files \ Git \ bin

Find the location of git-core in the git installation path, for example, D: \ Program Files \ Git \ libexec \ git-core;

(Note: "D: \ Program Files \ Git \" is the installation path, which may be different from your installation path. Replace "D: \ Program Files \ Git \")

(2) right-click "computer"-> "properties"-> "Advanced System settings"-> "environment variables"-> Find "path" in "system variables"-> select" path "and select" edit "-> copy the bin and git-core paths found in the 3.1 types to it-> Save and exit

(Note: In "path", each path must be separated by a semicolon (;) in the English input state)

Now you can use git in cmd ~



How to build a git repository in windows

Tool: tortoise git. Use: online tutorial.
 
How to build a git repository in windows

Tool: tortoise git. Use: online tutorial.
 

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.