Tortoisegit does not need to enter the user name and password each time to connect to oschina.

Source: Internet
Author: User

Enter the user name and password for each git clone and push operation. Although it is safe, it is a little troublesome to enter the machine every time. How do I remember the user name and password?

I read various methods on the Internet, which is too complicated. Many environments may be different and it has never been feasible. Finally, find an effective method, which is very simple. Record it!

 

After you have configured git, there is one in the C: \ Documents ents and Settings \ Administrator \ directory. the gitconfig file contains the name and email you previously configured. You only need to add a line below.

 

[Plain]View plaincopy
  1. [Credential]
  2. Helper = store

 

 

The next time you enter the user name and password, git will remember to form a file in the C: \ Documents ents and Settings \ Administrator \ directory. the git-credentials file contains your username and password.

 

[Plain]View plaincopy
  1. Https: // username: [email protected]



In this way, when you connect to the git. oschina code library, you no longer need to enter the user name and password!

 

Turn: http://blog.csdn.net/liukang325/article/details/24105913

 

Tortoisegit does not need to enter the user name and password each time to connect to oschina.

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.