Download the git installation package
0.tortoisegit-1.8 Chinese and git install package: http://download.csdn.net/download/renfufei/8204699 first open Git's official website: http://git-scm.com/ Then find the download page: Http://git-scm.com/downloads find the Windows version of the download page: Http://git-scm.com/download/win because you're ready to use Tortoisegit as a graphical client, So you don't choose the Git GUI version. When you open the download page for Windows, you should automatically pop up the download box and select Save. If it doesn't pop up, you can right-click on the click here to download manually in the page., select Save As. It is recommended that the downloaded software installation package be classified into a directory, such as: E:\SOFT_N\Tools_ALL\Git_ALL, convenient for later search and use. After the file is downloaded through the browser, you need to modify the lock properties of the file, especially the. zip file and the. chm file (otherwise open CHM will show 404). Right click on the downloaded file, select Properties, then click the "Unlock" button to make sure. As shown in the following illustration:
Remove file lock (not required)
7. Then double-click the installation file, if there is a Windows blocking warning, allow
8. Then the Installation Wizard interface appears, click Next:
Installation Wizard Interface
9. Then the authorization information interface appears, Next can:
Authorization Information Interface
10. Select the installation path
11. Select File association, if you are not clear, direct default, next. If you want the right-click menu to be a little more refreshing, remove the tick from the image below. It is also possible to remove all the hooks here, which is more refreshing (that's what I do).
12. Then the Start Menu folder appears, by default, the next step:
13. Then whether to configure the path configuration, select the middle one, you can invoke the git command via Windows command Line (CMD). Then click Next.
14. Select the format of the carriage return line. By default. (Convert to Windows style when checking out, convert to Linux style when committing.)
Carriage return Line Style (CRLF-LF)
15. Then the installation Progress screen
16. Installation is complete. Remove the check box for the View version description and click the Finish button.
17. You can test whether path is set in CMD and whether the installation is successful. Enter Git or git--version in cmd to try it:
18. If you follow the previous steps to install it, then the path of the GIT program is added to the system path (path is the same as the system automatically find the path list), so you can directly execute the git command under any path of CMD. If not, you will need to switch the CD to the bin directory where Git is located before you can execute the git command.
19. Set your own nickname and email
Set the local machine default commit nickname and email. Please use a meaningful name and email.
[plain] view plain copy git config--global user.name "tiemaocsdn" git config--global user.email "tiemaocsdn@ qq.com "git config--global push.default simple
If you want to use Git for push, you must configure Push.default or push fails. Name and email are used only for log identification. When you actually push to an online warehouse such as GitHub, log in with an account with operational privileges.
To view the GIT configuration, you can use the-l parameter (L is the first letter of list, lowercase in L):
Git config-l
Under the root path of an item, you can set up a separate email and name.
[plain] view plain copy git config user.name "tiemaocsdn" git config user.email "tiemaocsdn@qq.com"
As you can see, when you configure a single item, the--global parameter is missing.
Related websites:
git download page: http://git-scm.com/download/
Win7_8 under git:https://windows.github.com/(this should be the official software for GitHub under Windows, but does not support XP)
Related articles
Directory Installation and configuration git installation and configuration tortoisegit git and tortoisegit basic operations markdown example resolves tortoisegit weird bad file number problem