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

    Details

    • Type: Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: Git
    • Labels:
      None
    • Environment:
      Win7
    • Feedback Policy:

      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.

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            sstreeting Steve Streeting (Inactive)
            Reporter:
            mschmidt1 Marcel
            Votes:
            1 Vote for this issue
            Watchers:
            18 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: