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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

570 views 1 2
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