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 vote

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 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 ...

273 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