Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,159
Community Members
 
Community Events
165
Community Groups

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,574 views 127 27
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