Recently began to work with the boss to maintain the company's framework code, so did not hesitate to choose git this well-known version control system (the company uses TFS, but the extranet access is always disconnected).
The managed platform selected is Oschina because it can create a new private project.
HTTPS is used when pulling and pushing code, but it is hateful to enter the username password every time.
Programmers are born to solve problems.
The workaround is to open the personal folder, typically the C:\Documents and Settings\ user name, which has a. gitconfig file, which is opened using Notepad. If you've configured your name and email before, you'll see it in this area.
We can add the following configuration
[Credential]helper=store
The next time we re-enter the username, Git remembers the username and password, so we don't need to enter it again.
At this point in the above directory, you can find another file generated. git-credentials, the user name password is recorded inside.
Let git remember user name password (HTTPS) under Windows