Switching branches in SourceTree 1.9.5.0 index.lock error

Since installing Sourcetree 1.9.5.0 I now regularly see this error when switching branches. Closing and reopening SourceTree fixes the problem. 

git -c diff.mnemonicprefix=false c core.quotepath=false checkout feature/branchname
fatal: Unable to create 'D:/projectname/develop/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
Completed with errors, see above.

Is this a config issue on my PC?

1 answer

1 accepted

This widget could not be displayed.

Answered my own question it's a bug https://jira.atlassian.com/browse/SRCTREEWIN-6070

Suggest an answer

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

879 views 2 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