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)