Even though I create a PET in GitHub, and I set it in Sourcetree, it does get user, or updated.
Cloning a repo will result the same issue. Why? Should I remove the cache, or what?
CodePudding user response:
Remove credentials, but not from Keychain as they are not stored there, but from filesystem, as written here:
https://eekayonline.medium.com/connecting-mac-sourcetree-with-your-github-account-b6b3bb3c5a66
home directory > Library > Application Support > Sourcetree
CodePudding user response:
Found here answer:
pen sourcetree, in the right click icon Settings (Repository settings) ->Remotes -> Select Origin and Edit: Set URL/Path in the following format: https://<token>@<git_url>.git