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

Error while pulling Edited

while pulling from sourcetree I am getting following error. Please help resolve this


git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
From ssh://
dfff6f1..ec58187 xxxx/working_copy -> origin/xxxx/working_copy

error: cannot lock ref 'refs/remotes/origin/xxxx/working_copy': is at a12ea0eb1c2784e9821dd2bbdebe924e64ec80b6 but expected 6ce5f6a0c88531056be1b57dc043a2f537a0c06d
! 6ce5f6a..ec58187 xxxxx/working_copy -> origin/xxxxx/working_copy (unable to update local ref)

Completed with errors, see above.

1 answer

0 votes

Hi Ramesh,

  • How often does this happen?
  • Does it only happen in this repo?

From what you're describing you may be running into the bug found at SRCTREEWIN-6476.  Take a look at the description and see if that applies to you.  If so please vote on the issue to add impact and you'll be notified of any changes to the ticket including fixes.

In addition, I would also take a look at the following Community article where this issue was discussed:

SourceTree Errors with Gitflow




Suggest an answer

Log in or Sign up to answer
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,970 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