I'm having trouble pushing my branch to origin, Source tree is saying that my Github Credentials are incorrect. I was able to Sign into Github using the same credentials. I also was able to push changes via command line.
I'm setting the Authentication type to OAuth and connecting via HTTPS. I keep getting incorrect credentials.
Hello! Are you using Windows, or Mac?
If you're using Windows:
On a Mac.
Mac OS 10.14
Sourcetree 3.1.2
I got it to a state where the only way it can work is if I remove my github account, and then when I try to commit or push, it prompts me for a password to github, and I then enter my Personal Access Token from github. It works in that manner, but will be annoying each time I try to push or pull something. Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can only offer limited help on Mac issues, but could you try adding the account via "basic" authentication, and then use the Personal Access Token as your password rather than wait for the prompt?
If that doesn't work, I'd recommend that you switch your repository to use the SSH URL, and add a SSH key to your github account and to Sourcetree. If needed I can provide a short guide on how to do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.