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

"Force option" if index.lock exists or "Delete index.lock" option

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Fix
    • None
    • Git
    • None
    • Win7
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I've recently encountered this problem:

      git -c diff.mnemonicprefix=false -c core.quotepath=false checkout – source/VersionInfo.cs
      fatal: Unable to create 'C:/Projects/xyz/.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.

      Just not to blame SourceTree : It wasn't his fault

      But I would like to have a little helper button: "Delete index.lock" or "Free lock" or even a Force option might be helpful. Everything I want is remaining in the UI of SourceTree and don't open the stupid Console typing this: >del .git\index.lock.

      Can youo help me?
      Thanks
      Marcel

              Unassigned Unassigned
              19583e0e53a5 Marcel
              Votes:
              1 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: