{"action":"created","issue":{"url":"https://api.github.com/repos/gcapes/git-course/issues/42","repository_url":"https://api.github.com/repos/gcapes/git-course","labels_url":"https://api.github.com/repos/gcapes/git-course/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/gcapes/git-course/issues/42/comments","events_url":"https://api.github.com/repos/gcapes/git-course/issues/42/events","html_url":"https://github.com/gcapes/git-course/issues/42","id":297722565,"number":42,"title":"unintroduced use of HEAD~ ","user":{"login":"mawds","id":12030124,"avatar_url":"https://avatars0.githubusercontent.com/u/12030124?v=4","gravatar_id":"","url":"https://api.github.com/users/mawds","html_url":"https://github.com/mawds","followers_url":"https://api.github.com/users/mawds/followers","following_url":"https://api.github.com/users/mawds/following{/other_user}","gists_url":"https://api.github.com/users/mawds/gists{/gist_id}","starred_url":"https://api.github.com/users/mawds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawds/subscriptions","organizations_url":"https://api.github.com/users/mawds/orgs","repos_url":"https://api.github.com/users/mawds/repos","events_url":"https://api.github.com/users/mawds/events{/privacy}","received_events_url":"https://api.github.com/users/mawds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-16T09:24:15Z","updated_at":"2018-02-16T15:54:41Z","closed_at":"2018-02-16T15:52:52Z","author_association":"NONE","body":"In episode 3, line 233, `HEAD~` is used to get the parent commit.   I don't think this has been introduced at this point, so might be clearer to use the absolute commit id?\r\n\r\n```\r\nNotice how HEAD and master point to the same commit. Now checkout a previous commit again, and look at the graph again. We can display, this time specifying that we want to look at --all the history, rather than just up to the current commit.\r\n\r\n$ git checkout HEAD~\r\n$ git log --graph --decorate --oneline --all\r\n```"},"comment":{"url":"https://api.github.com/repos/gcapes/git-course/issues/comments/366274772","html_url":"https://github.com/gcapes/git-course/issues/42#issuecomment-366274772","issue_url":"https://api.github.com/repos/gcapes/git-course/issues/42","id":366274772,"user":{"login":"gcapes","id":12446270,"avatar_url":"https://avatars2.githubusercontent.com/u/12446270?v=4","gravatar_id":"","url":"https://api.github.com/users/gcapes","html_url":"https://github.com/gcapes","followers_url":"https://api.github.com/users/gcapes/followers","following_url":"https://api.github.com/users/gcapes/following{/other_user}","gists_url":"https://api.github.com/users/gcapes/gists{/gist_id}","starred_url":"https://api.github.com/users/gcapes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcapes/subscriptions","organizations_url":"https://api.github.com/users/gcapes/orgs","repos_url":"https://api.github.com/users/gcapes/repos","events_url":"https://api.github.com/users/gcapes/events{/privacy}","received_events_url":"https://api.github.com/users/gcapes/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T15:54:41Z","updated_at":"2018-02-16T15:54:41Z","author_association":"OWNER","body":"Well spotted @mawds !\r\nI think I usually just talk through this point when I come to it, but it's just as well to have it in the notes too. I don't want to use a commit ID in the notes because it'll be wrong for anyone following along by copying the commands."}}
{"actor":{"display_login":"gcapes"}}