{"action":"created","issue":{"url":"https://api.github.com/repos/zaggino/brackets-git/issues/887","labels_url":"https://api.github.com/repos/zaggino/brackets-git/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/zaggino/brackets-git/issues/887/comments","events_url":"https://api.github.com/repos/zaggino/brackets-git/issues/887/events","html_url":"https://github.com/zaggino/brackets-git/issues/887","id":55263305,"number":887,"title":"Add command to remove ignored files from index","user":{"login":"FezVrasta","id":5382443,"avatar_url":"https://avatars.githubusercontent.com/u/5382443?v=3","gravatar_id":"","url":"https://api.github.com/users/FezVrasta","html_url":"https://github.com/FezVrasta","followers_url":"https://api.github.com/users/FezVrasta/followers","following_url":"https://api.github.com/users/FezVrasta/following{/other_user}","gists_url":"https://api.github.com/users/FezVrasta/gists{/gist_id}","starred_url":"https://api.github.com/users/FezVrasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FezVrasta/subscriptions","organizations_url":"https://api.github.com/users/FezVrasta/orgs","repos_url":"https://api.github.com/users/FezVrasta/repos","events_url":"https://api.github.com/users/FezVrasta/events{/privacy}","received_events_url":"https://api.github.com/users/FezVrasta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zaggino/brackets-git/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T09:53:51Z","updated_at":"2015-01-31T21:44:10Z","closed_at":null,"body":"I think would be useful have this command available from the Brackets Git menu.\r\n\r\n    git rm -r --cached . \r\n    git add .\r\n    git commit -am \"Remove ignored files\"\r\n\r\nThis removes ignored files from Git index."},"comment":{"url":"https://api.github.com/repos/zaggino/brackets-git/issues/comments/72338398","html_url":"https://github.com/zaggino/brackets-git/issues/887#issuecomment-72338398","issue_url":"https://api.github.com/repos/zaggino/brackets-git/issues/887","id":72338398,"user":{"login":"janicmikes","id":8189834,"avatar_url":"https://avatars.githubusercontent.com/u/8189834?v=3","gravatar_id":"","url":"https://api.github.com/users/janicmikes","html_url":"https://github.com/janicmikes","followers_url":"https://api.github.com/users/janicmikes/followers","following_url":"https://api.github.com/users/janicmikes/following{/other_user}","gists_url":"https://api.github.com/users/janicmikes/gists{/gist_id}","starred_url":"https://api.github.com/users/janicmikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janicmikes/subscriptions","organizations_url":"https://api.github.com/users/janicmikes/orgs","repos_url":"https://api.github.com/users/janicmikes/repos","events_url":"https://api.github.com/users/janicmikes/events{/privacy}","received_events_url":"https://api.github.com/users/janicmikes/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T21:44:10Z","updated_at":"2015-01-31T21:44:10Z","body":"I think this is a good and easy to implement enhancement.\r\n\r\nMy only concern is that the commit should not be performed automatically, because it could commit other changes under the name of \"Remove ignored files\".\r\n\r\nPossible solutions:\r\n* Allow action only if repository is in a clean state\r\n* Revert repository to last commit before this command is executed. \r\n* Show an appropriate Warning.\r\n\r\n:+1:"}}