Authentication error trying to push changes

I get the error below trying to push my changes

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
fatal: Authentication failed for 'http://xxxxxxxxxxxxxxxxxxx/scm/tar/main.git/'
Pushing to http://xxxxxxxxxxxxxxxxxxxxx/scm/tar/main.git

 

I have deleted the account being used and readded it which gives me the assurance "Authentication OK" but still get the same problem when I try to push.

 

I did opt to get the latest upgrade prior to this occurring but dont know if that is related or not

 

2 answers

0 votes

Hi Richard, can you provide us some more information:

  • Are you getting the same error if you push from the terminal?
  • Have you tried using https instead
  • Which version of SourceTree and OS are you using?

Best regards,

Ana

No the push from the terminal prompts for a password and suceeds.

I did try to change the origin string to use https but got an unknown protocol error. Obviously not the right way to do it! In my saved account info it has https as the protocol.

Sourcetree is 2.1.8.0 running on Windows 7 Professional with SP1 installed. (We operate on virtual machines in a different country that we access via remote desktop over a VPN and have no control of what OS or updates are installed)

No the push from the terminal prompts for a password and suceeds.

I did try to change the origin string to use https but got an unknown protocol error. Obviously not the right way to do it! In my saved account info it has https as the protocol.

Sourcetree is 2.1.8.0 running on Windows 7 Professional with SP1 installed.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

238 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot