{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/4137","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/4137/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/4137/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/4137/events","html_url":"https://github.com/Microsoft/vscode/issues/4137","id":140671470,"number":4137,"title":"revert file when doing Git clean","user":{"login":"zivni","id":12896422,"avatar_url":"https://avatars.githubusercontent.com/u/12896422?v=3","gravatar_id":"","url":"https://api.github.com/users/zivni","html_url":"https://github.com/zivni","followers_url":"https://api.github.com/users/zivni/followers","following_url":"https://api.github.com/users/zivni/following{/other_user}","gists_url":"https://api.github.com/users/zivni/gists{/gist_id}","starred_url":"https://api.github.com/users/zivni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zivni/subscriptions","organizations_url":"https://api.github.com/users/zivni/orgs","repos_url":"https://api.github.com/users/zivni/repos","events_url":"https://api.github.com/users/zivni/events{/privacy}","received_events_url":"https://api.github.com/users/zivni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-14T13:20:34Z","updated_at":"2016-03-14T13:20:34Z","closed_at":null,"body":"- VSCode Version: 0.10.10\r\n- OS Version: windows 8.1\r\n\r\nSteps to Reproduce:\r\n\r\n1. init git in project\r\n2. edit a file save, and commit\r\n3. edit the file and do not save\r\n4. Go to Git view\r\n5. on the file chose clean (git clean)\r\n\r\nThe editor should also preform a revert file action. there is no reason to keep the changes in memory but reverting on disk.\r\n\r\n As a side effect, when trying to save gives an error that the file on disk is newer and cannot save."}}