Monday, 16 September 2013

How to save credential in Tortoise GIT.

This is for those who have created long User Name & Password for GitHub and now each time you want to pull/push you need to fill up user name and password which consumes enough time in full day. Personaly it iretates me to enter user name and password more than 20 time in a single day. Then I found a way to save credentials in GIT as we do in SVN. Following are the steps to do so:
  

Step 1:

Right click on the Project clone àTortoiseGitàSetting  screen will look like below:





Step 2:

Select credential from Git:  Gitàcredential screen will look like:




Step 3:
Select “wincred-current windows user” from available option in Credential helper if you want to save User name as well as Password, if you want to save only User name Skip Step 3 go to Step 4. Click apply screen will look like:



Step 4:
NOTE: This step is only applicable if you want save only User name NOT password for Git.
Select “Advance” from available option in Credential helper.
Enter URL of clone URL(project specific git checkout/clone url).
Select “wincred” from Helper drop down.
Enter your git user name  in “Username” textbox.
Click on “Add New/Save” button. Screen will look like:





That’s all now you are ready to avoid entering User name/ password each time you Pull/Push.

Hit Subscribe by email if your purpose is solved.

1 comment: