[Tool recommended]003.tortoisegit use Tutorial (supplemental)

Source: Internet
Author: User

The previous article describes:

In the previous <[tool recommended]003.tortoisegit use tutorial > in detail How to use the use of tortoisegit, but we use to reflect a point, that is, each operation needs to enter the account name and password, it is a bit inconvenient. Although safe, it's a bit of a hassle to lose on this machine every time. How do I remember a user name and password? Password-free method: method One:(recommended) 1. Global MemorySettings, git edit Local. Git/config add
[Credential]       

Save, enter the password once and the password will be remembered the second time.

2. Project Memory

Specific item remember account/password: Go to modify " project/.git/config", increase

[Credential]       

Save, enter the password once and the password will be remembered the second time.

Method Two:

Step One:

Add a HOME environment variable in Windows with a value of %USERPROFILE%

Step Two:

Click "Start menu-run" input %home%, create a new file named "_netrc"

Step Three:

Open the _netrc file with Notepad, enter the GIT server name, user name, password, and save:

Machine github.com      #git服务器名称 login  user              #git帐号passwordpwd             

This site article is for baby bus SD. Team Original, reproduced must be clearly noted: (the author's official website: Baby bus )
Reprinted from "Baby bus Superdo Team" original link: http://www.cnblogs.com/superdo/p/4779995.html

[Tool recommended]003.tortoisegit use Tutorial (supplemental)

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.