{"action":"created","issue":{"url":"https://api.github.com/repos/k88hudson/git-flight-rules/issues/32","labels_url":"https://api.github.com/repos/k88hudson/git-flight-rules/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/k88hudson/git-flight-rules/issues/32/comments","events_url":"https://api.github.com/repos/k88hudson/git-flight-rules/issues/32/events","html_url":"https://github.com/k88hudson/git-flight-rules/pull/32","id":41389084,"number":32,"title":"`git reset --hard master~1` rather than `git reset --hard a13b85e`","user":{"login":"arialdomartini","id":150719,"avatar_url":"https://avatars.githubusercontent.com/u/150719?v=3","gravatar_id":"","url":"https://api.github.com/users/arialdomartini","html_url":"https://github.com/arialdomartini","followers_url":"https://api.github.com/users/arialdomartini/followers","following_url":"https://api.github.com/users/arialdomartini/following{/other_user}","gists_url":"https://api.github.com/users/arialdomartini/gists{/gist_id}","starred_url":"https://api.github.com/users/arialdomartini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arialdomartini/subscriptions","organizations_url":"https://api.github.com/users/arialdomartini/orgs","repos_url":"https://api.github.com/users/arialdomartini/repos","events_url":"https://api.github.com/users/arialdomartini/events{/privacy}","received_events_url":"https://api.github.com/users/arialdomartini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/k88hudson/git-flight-rules/labels/PR%20needs%20work","name":"PR needs work","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-08-28T13:22:02Z","updated_at":"2015-05-19T07:15:46Z","closed_at":"2015-05-19T07:15:46Z","pull_request":{"url":"https://api.github.com/repos/k88hudson/git-flight-rules/pulls/32","html_url":"https://github.com/k88hudson/git-flight-rules/pull/32","diff_url":"https://github.com/k88hudson/git-flight-rules/pull/32.diff","patch_url":"https://github.com/k88hudson/git-flight-rules/pull/32.patch"},"body":"Using `git reset --hard master~1` rather than `git reset --hard a13b85e` to make the use of `git log` unnecessary\r\n\r\nIn the paragraph `commit-wrong-branch` you suggest to reset the branch `master` to its previous commit by using a `git log` and then resetting `master` to the `sha1` of the previous commit.\r\n\r\nI think a simpler `git reset --hard master~1` is more convenient, since it saves the user from reading the output of `git log` and from copying the `sha1` of the commit.\r\n"},"comment":{"url":"https://api.github.com/repos/k88hudson/git-flight-rules/issues/comments/103376460","html_url":"https://github.com/k88hudson/git-flight-rules/pull/32#issuecomment-103376460","issue_url":"https://api.github.com/repos/k88hudson/git-flight-rules/issues/32","id":103376460,"user":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T07:15:46Z","updated_at":"2015-05-19T07:15:46Z","body":"Landed in #60. Thanks. "}}