sapatelbaps
sapatelbaps

Reputation: 484

Git asks for password for each commit and pull

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.

Upvotes: 2

Views: 950

Answers (1)

Eel Lee
Eel Lee

Reputation: 3543

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.

Upvotes: 4

Related Questions