Unable to switch branches due to file lock error

XMLWordPrintable

    • Type: Bug
    • Resolution: Obsolete
    • Priority: Low
    • None
    • Affects Version/s: 1.6.25
    • Component/s: None
    • Environment:

      Windows 7 Enterprise SP 1 64 bit
      Intel Core i7-4600M @ 2.9 GHz
      8 GB RAM

    • Severity 3 - Minor

      In SourceTree when switching branches, occasionally it switches as expected.  However more often than not, it throws the exception below and I have to close SourceTree and reopen before it will allow me to switch branches.git -c diff.mnemonicprefix=false -c core.quotepath=false checkout My-Branch-Namefatal: Unable to create 'C:/code/myprojectname/.git/index.lock': File exists.If no other git process is currently running, this probably means agit process crashed in this repository earlier. Make sure no other gitprocess is running and remove the file manually to continue.Completed with errors, see above.

              Assignee:
              Unassigned
              Reporter:
              Timm Hagen
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: