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

SourceTree 2.3.5 Authentication Error

When I try to push / pull I am getting auth errors.

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin _nick/test:_nick/test
Pushing to https://github.com/domain/Project.git
ERROR: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'https://github.com/domain/Project.git'
Completed with errors, see above.

I attempted to use the git terminal, here is my trace. I noticed when I enter an incorrect password it outputs an error. when I enter the correct password the prompt continues without any output.

nick@LAPTOP ~/Documents/domain/Project(_nick/test)
$ git fetch
Username for 'https://github.com': userName

nick@LAPTOP-3GV274KQ MINGW32 ~/Documents/domain/Project(_nick/test)
$

 

I have deleted my password file
https://community.atlassian.com/t5/Sourcetree-questions/Getting-quot-fatal-Authentication-failed-for-quot-error/qaq-p/624663

I have attempted a personal access token and a basic password. please advise.

1 answer

Hello! Looks like you're trying to interact with GitHub. Rather than needing to enter a username and password, you can add a Remote Account that uses OAuth which may solve your authentication issues. Here's a step-by-step guide on how to do that:

oauth.PNG

 

Once you click "Refresh OAuth Token" your webbrowser should open. Follow the directions there and once done switch back to Sourcetree and hit OK. Then try pushing again and see if it works.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,902 views 0 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