Git client tortoisegit (Windows system) How to use _ Server other

Source: Internet
Author: User
Tags git client

This article environment:

Operating system: Windows XP SP3

Git client: tortoisegit-1.8.8.0-32bit

First, install Git client

All installations are adopted by default!

1. Installation Support Software

Msysgit:https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git

The current latest version is v1.9.0.

2. Install Tortoisegit

First, to install Windows Installer 4.5.

Then, install Tortoisegit-1.8.8.0-32bit.msi (current latest version)

Finally, install the Tortoisegit Chinese language pack

Tortoisegit-languagepack-1.8.7.0-32bit-zh_cn.msi

Second, the configuration, the use of tortoisegit

1. Set as Chinese interface

2. Build Version Library

Click the right mouse button in any empty folder and choose Git to create a version gallery here

3. The Clone Library

Right click on the folder above and select "Pull (Pull)"

(1) Remote management

Figure 2-3-1-1

Figure 2-3-1-2

Where the URL is the git address of the remote version library

Note that you must change the "localhost" to an IP address, or you may receive the following error: Git did not exit cleanly (exit code 128)

(2) Generate PPK files

On the Start menu, select "Puttygen" in "Tortoisegit"

Click on the "Generate" button, and then, the mouse in the red box in the area of the continuous 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 address in diagram 2-3-1-2

(3) Complete the Clone library

4. Submit the local version library

The newly created file icon in the local version library is

(1) Add to local library

Right click on the file icon as above, select "Add"

At this point, the file icon changes to represent the success of adding to the local library.

(2) Submit to local library

Right-click the file as shown above, select "Git Submit (C) ..."-> "Master" ... "

A prompt appears, setting the username and mailbox.

Set user name, mailbox, and signature key (PPK file)

Enter the log information and complete the submission.

5. Push local library to server

If the icons for all folders and files are as shown, then we can push the local library to the version server.

In the root directory where the local library resides (this is D:\MYDOC13\SSFC), click the right mouse button and select "Tortoisegit"-〉 "Push"

Complete the push.

------------------------------------------Xiaobin_ Hlj80-----------------------------------------------Full text end------------------------------

FAQ:

1. About: User name and mailbox

The user name and mailbox are assigned by the version server. Is that we build the username and mailbox on the version server and then use it on the client.

2. Cancel last "Commit" action

Right-click Git Library folder, select the "Git" tab, click the "Show Log" button, select the location to roll back, click the right button to select "Reset" Master to this ...

Click "OK" to complete the cancel operation.

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.