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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pushing To Origin (about to get fired SOS)

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 Aug 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
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,692 views 4 12
Read article

Community Events

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

Events near you