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

0 votes
Accepted answer

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

832 views 3 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