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 Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

966 views 4 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