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.