1: Online git address
https://github.com/
2:tortoisegit Address
http://tortoisegit.org
3: Installation Steps
Operating system: Windows XP SP3
Git client: tortoisegit-1.8.8.0-32bit
First, install the Git client
All installations are by default!
1. Install support software
Msysgit:https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git
Currently the latest version is v1.9.0.
2. Installing Tortoisegit
First, you install Windows Installer 4.5.
Then, install Tortoisegit-1.8.8.0-32bit.msi (currently the latest version)
Finally, install the Tortoisegit Chinese language pack
Tortoisegit-languagepack-1.8.7.0-32bit-zh_cn.msi
Second, the configuration, use Tortoisegit
1. Set to Chinese interface
2. Build the Repository
Right-click on any empty folder and select "Git here to create repository"
3. Clone Library
Right-click on the folder above and select "Pull"
(1) Managing the remote
Figure 2-3-1-1
Figure 2-3-1-2
Where the URL is the git address of the remote repository
Note that you must change the "localhost" to an IP address, otherwise the following error will occur: Git did not exit cleanly (exit code 128)
(2) Generate PPK file
From the Start menu, select "PuttyGen" in "Tortoisegit"
Click "Generate" button, then, the mouse in the image of the red box in the area of the movement, you can generate a key.
Click the "Save private Key" button to save the generated key as a PPK file.
Determine the build.
Save to the address in Figure 2-3-1-2
(3) Complete Clone library
4. Submit a local repository
The newly created file icon in the local repository is
(1) Add to local library
Right click on the marked file, select "Add"
At this point, the file icon changes to indicate success in adding to the local library.
(2) Submit to local library
Right-click on the marked file, select "Git commit (C) ....", "Master" ... "
A prompt will appear, setting the user name and mailbox.
Set the user name, mailbox, and signing key (PPK file)
Enter the log information to complete the submission.
5. Push local library to server
If all the folders and files are icons, then we can push the local library to the version server.
In the root directory of the local repository (D:\MYDOC13\SSFC), right-click, select "Tortoisegit"-〉 "Push"
Complete the push.
------------------------------------------Xiaobin_hlj80----------------------------------------------- Full-text End------------------------------
FAQ:
1. About: User name and email
The user name and mailbox are assigned by the version server. Is that we set up the user name and mailbox on the version server and then use it on the client.
2. Cancel the last "Commit" action
Right-click the Git Library folder, select the "Git" tab, click on the "Show Log" button, select the location to roll back, and right-click to select "Reset" Master to ... "
Click "OK" to complete the cancel operation.
Installation address reproduced in: http://www.jb51.net/article/55440.htm
Windows Install git client