Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-5639

Unable to create index.lock, already exists

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.0.17
    • 1.9.1-beta-1, 2.3.5.0
    • Beta
    • Severity 3 - Minor

    Description

      Very often I get this kind of errpr

      git -c diff.mnemonicprefix=false -c core.quotepath=false checkout develop
      fatal: Unable to create 'xxxxxxxx/.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.
      

      This kind of error occurs during any operation, switching branch, creating hotfix, pulling data, ...

      I can assure you that there are no other git process running and no crashes has been reported.

      I'm unable to find a proper step to reproduce the problem, It seems to be a bit random

      Attachments

        Issue Links

          Activity

            People

              mminns minnsey
              803677bd570e Nicola Spreafico
              Votes:
              83 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: