I am using bitbucket for my project and using SmartGit 17.0.4 for pull and pull to my repository. Every time it asks to enter the username and password. I searched it, but didnt get any solution. Anyone knows?
Here is the screenshot of popup . http://prntscr.com/fd91v7
You can avoid being prompted for your password by configuring Git to cache your credentials for you. Once you've configured credential caching, Git automatically uses your cached personal access token when you pull or push a repository using HTTPS.
If Git prompts you for a username and password every time you try to interact with GitHub, you're probably using the HTTPS clone URL for your repository. Using an HTTPS remote URL has some advantages compared with using SSH. It's easier to set up than SSH, and usually works through strict firewalls and proxies.
To use SmartGit's OAuth authentication with your GitHub Enterprise instance, SmartGit has to be configured as Developer Application in your GitHub Enterprise instance. This can be done by every GitHub Enterprise user, from the Personal Settings, OAuth Applications, Developer Applications.
You could also disable the use of the Git credential cache using git config --global --unset credential. helper. Then reset this, and you would continue to have the cached credentials available for other repositories (if any). You may also need to do git config --system --unset credential.
SmartGit should use the Windows Credential Manager to cache your password.
See "Using the Git credentials manager".
Check the output of:
git config credential.helper
But, there is an issue reporting that password gets deleted from the credential manager: issue 58.
I have a situation with SmartGit and Git Credential Manager for Windows:
After entering the password, I can confirm that it is added to the Credential Manager.
However, even after using thesetx GCM_PRESERVE_CREDS true
(and restarting SmartGit and the Credential Manager service), the credentials still get removed after some period of time (short, around 15 minutes), and the manager pops up again.
This bug is still in progress.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With