Search code examples
githubxcode8atlassian-sourcetreesourcetree

sourceTree isn't letting me push to gitHub after supposedly typing my passcode wrong once


sourceTree isn't letting me push to gitHub after supposedly typing my passcode wrong once and now when I try to push to that remote it won't let me even after I deleted that remote and added it again. Here is the error Pushing to https://github.com/user/app.git remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/user/app.git/' Thanks for any help in advance!!! P.S. "user" and "app" are not the real names.


Solution

  • It's not Sourcetree, git-push is failing due to invalid credentials.
    Just try to re-setup your git credentials again as explained here.