{"action":"created","issue":{"url":"https://api.github.com/repos/cmderdev/cmder/issues/1044","repository_url":"https://api.github.com/repos/cmderdev/cmder","labels_url":"https://api.github.com/repos/cmderdev/cmder/issues/1044/labels{/name}","comments_url":"https://api.github.com/repos/cmderdev/cmder/issues/1044/comments","events_url":"https://api.github.com/repos/cmderdev/cmder/issues/1044/events","html_url":"https://github.com/cmderdev/cmder/issues/1044","id":166171871,"number":1044,"title":"Git: fatal: Unable to create '.git/index.lock': File exists.","user":{"login":"Sabrethan","id":11478564,"avatar_url":"https://avatars.githubusercontent.com/u/11478564?v=3","gravatar_id":"","url":"https://api.github.com/users/Sabrethan","html_url":"https://github.com/Sabrethan","followers_url":"https://api.github.com/users/Sabrethan/followers","following_url":"https://api.github.com/users/Sabrethan/following{/other_user}","gists_url":"https://api.github.com/users/Sabrethan/gists{/gist_id}","starred_url":"https://api.github.com/users/Sabrethan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sabrethan/subscriptions","organizations_url":"https://api.github.com/users/Sabrethan/orgs","repos_url":"https://api.github.com/users/Sabrethan/repos","events_url":"https://api.github.com/users/Sabrethan/events{/privacy}","received_events_url":"https://api.github.com/users/Sabrethan/received_events","type":"User","site_admin":false},"labels":[{"id":47006161,"url":"https://api.github.com/repos/cmderdev/cmder/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":272965333,"url":"https://api.github.com/repos/cmderdev/cmder/labels/Default%20User%20Configuration","name":"Default User Configuration","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-07-18T19:21:18Z","updated_at":"2016-11-03T21:04:17Z","closed_at":"2016-07-18T20:11:43Z","body":"Git is unable to create `.git/index.lock` file because it already exists.  Steps to reproduce using files that are readily available:\n- Goto https://wordpress.org/download/ and download WordPress ZIP archive.\n- Extract to a directory.\n- Open Cmder and change directory where WordPress was extracted.\n- Init directory using:\n\n``` bat\ngit init\n```\n- Configure `user.name` and `user.email`\n\n``` bat\ngit config user.name \"test\"\ngit config user.email \"test@example.com\"\n```\n- Add all files.\n\n``` bat\ngit add -A\n```\n- Commit files.\n\n``` bat\ngit commit -m \"test\"\n```\n\nAn error like this shows up:\n\n```\nfatal: Unable to create 'Z:/a/.git/index.lock': File exists.\n\nAnother git process seems to be running in this repository, e.g.\nan editor opened by 'git commit'. Please make sure all processes\nare terminated then try again. If it still fails, a git process\nmay have crashed in this repository earlier:\nremove the file manually to continue.\n```\n- Listing the `.git` directory shows that an `index.lock` file exists.\n- Open **Task Manager** and multiple **Git for Windows** processes are still running.\n"},"comment":{"url":"https://api.github.com/repos/cmderdev/cmder/issues/comments/258273364","html_url":"https://github.com/cmderdev/cmder/issues/1044#issuecomment-258273364","issue_url":"https://api.github.com/repos/cmderdev/cmder/issues/1044","id":258273364,"user":{"login":"daxgames","id":7318053,"avatar_url":"https://avatars.githubusercontent.com/u/7318053?v=3","gravatar_id":"","url":"https://api.github.com/users/daxgames","html_url":"https://github.com/daxgames","followers_url":"https://api.github.com/users/daxgames/followers","following_url":"https://api.github.com/users/daxgames/following{/other_user}","gists_url":"https://api.github.com/users/daxgames/gists{/gist_id}","starred_url":"https://api.github.com/users/daxgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxgames/subscriptions","organizations_url":"https://api.github.com/users/daxgames/orgs","repos_url":"https://api.github.com/users/daxgames/repos","events_url":"https://api.github.com/users/daxgames/events{/privacy}","received_events_url":"https://api.github.com/users/daxgames/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T21:04:17Z","updated_at":"2016-11-03T21:04:17Z","body":"rm .git/index.lock"}}
{"actor":{"display_login":"daxgames"}}