问题
I am using Visual Studio 2012 with Git extension. I am using bit-bucket for storing project.
Each and every time - whenever I want to either push or pull Git ask me for account password in windows 8.
Thanks.
回答1:
You can use gitcredentials and tell it to remember your password for some time
git config --global credential.helper "cache --timeout=time_in_seconds"
for example if you want it to remember for the next day it would be 60 * 60 * 24 = 86400 seconds, so the command would look like
git config --global credential.helper "cache --timeout=86400"
Hope this helps.
来源:https://stackoverflow.com/questions/19029987/git-asks-for-password-for-each-commit-and-pull