Missed Team ’24? Catch up on announcements here.

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

SourceTree 2.3.5 Authentication Error

Nicholas Ventimiglia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 2, 2018

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

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2018

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
AUG Leaders

Atlassian Community Events