Sourcetree Push error FIX!

So I was getting the error for Token authentication and it was a nightmare to solve, but I found one way of solving this. So the first of all you have to generate a Personal access token in GitHub After that you have to reset sourcetree settings and the guide link here After that just open sourcetree again and do The Push and it will ask you for “Username” and “password”, username is your github username and password is the Personal access token. Hope it works for you!

NOTE: The full sourcetree reset will erase all login information and workspaces so follow the gamedev tutorial again if you having problem adding them again. If u don’t find the folder in the reset tutorial its because its a hidden file.

Heres a Short brief

  1. Generate a Personal access token in GitHub
  2. Reset SourceTree settings
  3. Open SourceTree again and after pressing Push enter your GitHub username as a username and as a password your Personal access token.

Here is more info why this happens. (Basically they removed the normal username/password login and you have to use personal access token instead.

3 Likes

Privacy & Terms