I get this error when trying to push to my remote repo via sourcetree:
Pushing to https://xxx.visualstudio.com/DefaultCollection/_git/xxx error: git-credential-sourcetree died of signal 5 fatal: could not read Username for 'https://xxx.visualstudio.com': Device not configured
How do I configure this in sourcetree?
I have a personal access token but I don't know how to give it to sourcetree.
I'm on mac.
I had to delete the repo in sourcetree and clone it to sourcetree using an existing remote git url (which is not how I got it into sourcetree initially). Once this is done, then Sourcetree will add your user credentials. Not really sure on the details such as why it works but at least it works, so it might be able to help others in that situation.