Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pushing To Origin (about to get fired SOS)

Sebastian Lee August 30, 2019

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/feat/add-creation-time-compensation-request-edit-page:refs/heads/feat/add-creation-time-compensation-request-edit-page

Pushing to https://github.com/sugarai-ltd/sugar.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/sugarai-ltd/sugar.git/'

Pushing to https://github.com/sugarai-ltd/sugar.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/sugarai-ltd/sugar.git/'

Pushing to https://github.com/sugarai-ltd/sugar.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/sugarai-ltd/sugar.git/'

Pushing to https://github.com/sugarai-ltd/sugar.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/sugarai-ltd/sugar.git/'

Completed with errors, see above

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 30, 2019

Hey Sebastian, thanks for posting to get some help with Sourcetree.

Looks like you're trying to connect to Github and getting an invalid username or password error. Although we don't know your account status with Github, I can give you some pointers to help troubleshoot:

  1. Try logging in to your Github account through your browser to make sure your account is in good standing. If you can't log in via the web, any git commands are also going to fail.
  2. Check the authentications settings in Sourcetree. If the account is set to use HTTPS, try switching to SSH. And vice versa - if you're having issues with SSH, try HTTPS.
  3. Check out some of the other solutions offered here.

Bummer that you're encountering issues trying to push to your repo, but hopefully with a little prodding you're able to clear it up!

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events