Sourcetree keeps asking for password

By

in

Normally, Sourcetree stores your login credentials so that it’s not necessary to re-enter them each time you push or pull you repository from your git server.

But sometimes, Sourcetree keeps asking for password when committing or pushing data to a server. In this case, the following solution worked for me:

Open the terminal and navigation to your project folder. Then enter:

git config credential.helper store
git pull

Input your username and password and press enter. That’s it.

Now you should be abel to call git pull or git push without entering your password.

Source (somewhere in between the lines):
https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-keeps-asking-for-login-and-password/qaq-p/146765#M18512



Comments

Leave a Reply

Your email address will not be published. Required fields are marked *