Tortoisegit Learning Series of Windows on the installation of Tortoisegit on the detailed

Source: Internet
Author: User

Installation preparation for the Tortoisegit

    1. First you have to install the msysgit under Windows.
    2. Install the version controller client Tortoisegit [friends who are not accustomed to English, can also be the next language pack].

: Https://yunpan.cn/cvnADhh7WmDDP access Password d7f3

Note: In order to avoid the trouble of configuration, it is best to install msysgit-1.9.4 first, then install TortoiserGit-1.8.12.0, and finally install the Chinese language pack.

Installation of Tortoisegit

Msysgit install "All the way to the default"

After installing Git, right-click on the menu to find a few more options about Git

1) TortoiseGit-1.8.12.0-64bit.msi installation diagram:

1: Double-click the installer TortoiseGit-1.8.12.0-64bit.msi . Pop up the Installation Wizard interface:

2: Just click Next (Next)

3: Next, select the SSH client. You can choose Tortoisegitplink (located under the Tortoisegit installation directory/bin), or you can choose the git default SSH client, which is located in the Git installation directory/bin/ssh.exe (if Path is configured, it is ssh.exe directly)

4: Then select the installation directory, you can either leave the default, or install the program components in the development environment directory to remain the default:

5: Next to confirm the installation interface, click the Install button installed, as shown in

6: When the installation is complete, click the Finish button:

7: If you have an older version, select Overwrite, close the old program and try restarting

After installing the Tortoisegit, the right mouse button, found a few more options about the Tortoisegit

2) Language pack installation diagram (direct click Next):

(4) configuration

1. First, select a directory to store your Git project, which is easy to manage. such as: F:\STUDY\GIT_STUDY , and then open it in Resource Manager.

2. Right-click in the blank, select-Tortoisegit-Settings, then you can see the configuration interface:

3. Select general and choose Chinese in the language on the right. If you do not check the auto-upgrade checkbox, you may also need to specify the path to the Git.exe file, such as " D:\DevlopPrograms\Git\bin ". When you are finished, click Apply to confirm the Close dialog box. ( Of course, you can also continue to use English)

4. Click the right mouse button again, you can see the pop-up menu has become Chinese. The original Settings becomes set; Clone becomes clone.

5. Configure the right-click menu. In the Settings dialog box, click on the "Right-click menu" On the left and remove all the checkboxes on the right so that the right-click menu looks cleaner:

6. Set the Remember password

!!!!! The password is stored in C:\Users\Administrator\.git-credentials this file in clear text, please use it carefully.

Go to Settings and click on the Git tab on the left. You can find the user's name and email message on the right. As shown in the following:

Because there are currently no local items, the 编辑本地 .git/config(L) button is grayed out, and if you open the configuration dialog under a local GIT project, the button is available and you can edit some of the properties of the item.

Clicking the 编辑全局 .git/config(O) button will open the global profile using Notepad, and in the global configuration file, add the following:

[credential]helper = store

Save when you're done, close Notepad, and OK.

When you push a project to an online repository such as GitHub, you'll remember the username and password you entered (this is not the user's name and email.)

If you are editing 本地 .git/config(L) , in fact, this translation is a local problem, should be called, that is, 局部 under a project set, only valid for this project. Configuration is the same.

    • User name: Is your registered account, such as: TIEMAOCSDN
    • Password: Of course, the password to fill in the registration: *********
    • E-mail: Is your contact email, to contact you when you use
    • User name/Nickname: can be taken casually, but it's better to have some meaning

(5) Example

Cloning a project:

In the working directory, such as " F:\STUDY\GIT_STUDY ," right-click in the Blank Space, select: Tortoisegit---Clone ... (Clone ...) The Clone dialog box appears, as shown in:

Fill in the URL with the access address of the item, such as:

https://github.com/cncounter/translation.git

Local directory, you can also choose your own, generally by default. Then click the "OK" button to start cloning the project. Depending on the project size, the time will be different. After cloning is complete, if there is no error, you will be prompted:

    • Cloning: It is similar to a copy, but because a repository such as Svn,git is stored as a (data) library, it is called a clone.
    • Git project URL: You can access the GIT project page online, you can see SSH, HTTPS, SVN access path on the right.

For example:

    • Page Address: https://github.com/cncounter/translation
    • Https:https://github.com/cncounter/translation.git
    • SSH: [Email protected]:cncounter/translation.git
    • Svn:https://github.com/cncounter/translation

Can be found, very similar. As shown in the following:

Tortoisegit Learning Series of Windows on the installation of Tortoisegit on the detailed (graphic)

Related Article

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.