To solve the problem of repeated password input when operating sourcetree on MAC

After installing sourcetree, no matter the pull or push code, it will prompt the shell layer to input the password. What should I do?

Copy the following code to the terminal for execution:

git config –global credential.helper osxkeychain

Then enter the computer power on password, and check always allow.

Problem solving!!! You can safely push and pull code ~

Read More: