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
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?
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.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events