SourceTree keeps asking for password on macOS

If you are experiencing that the sourcetree is keeps asking for username and/or password when fetching, pushing, pulling, commiting to a repository, open up a terminal and execute the following command

git config --global credential.helper osxkeychain

This happened for me after installing a third party password manager, called LastPass.

This content has 2 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.

3 thoughts on “SourceTree keeps asking for password on macOS”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.