{"action":"created","issue":{"url":"https://api.github.com/repos/ryan-williams/git-helpers/issues/60","labels_url":"https://api.github.com/repos/ryan-williams/git-helpers/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/ryan-williams/git-helpers/issues/60/comments","events_url":"https://api.github.com/repos/ryan-williams/git-helpers/issues/60/events","html_url":"https://github.com/ryan-williams/git-helpers/pull/60","id":59989317,"number":60,"title":"Allow `github <path>`","user":{"login":"danvk","id":98301,"avatar_url":"https://avatars.githubusercontent.com/u/98301?v=3","gravatar_id":"","url":"https://api.github.com/users/danvk","html_url":"https://github.com/danvk","followers_url":"https://api.github.com/users/danvk/followers","following_url":"https://api.github.com/users/danvk/following{/other_user}","gists_url":"https://api.github.com/users/danvk/gists{/gist_id}","starred_url":"https://api.github.com/users/danvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danvk/subscriptions","organizations_url":"https://api.github.com/users/danvk/orgs","repos_url":"https://api.github.com/users/danvk/repos","events_url":"https://api.github.com/users/danvk/events{/privacy}","received_events_url":"https://api.github.com/users/danvk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-05T17:55:27Z","updated_at":"2015-03-05T18:35:08Z","closed_at":"2015-03-05T18:14:13Z","pull_request":{"url":"https://api.github.com/repos/ryan-williams/git-helpers/pulls/60","html_url":"https://github.com/ryan-williams/git-helpers/pull/60","diff_url":"https://github.com/ryan-williams/git-helpers/pull/60.diff","patch_url":"https://github.com/ryan-williams/git-helpers/pull/60.patch"},"body":"Fixes #59 \r\n\r\nI punted on referencing the current tree—if you have ideas on how to make sure the current tree exists on GitHub, I'm all ears."},"comment":{"url":"https://api.github.com/repos/ryan-williams/git-helpers/issues/comments/77421995","html_url":"https://github.com/ryan-williams/git-helpers/pull/60#issuecomment-77421995","issue_url":"https://api.github.com/repos/ryan-williams/git-helpers/issues/60","id":77421995,"user":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T18:35:08Z","updated_at":"2015-03-05T18:35:08Z","body":"it would not check the remote by itself, but it could still be a good\napproximation if you are reasonably current.\n\nwe could have it take a `-p` flag that would push the current tree up under\nthe current branch name.\n\nor you could do your own `push` before using this command to get a link.\n\nI could even imagine something like a `-o` flag to `push` (or some alias\nthereof that we control, like `spf`) that would open the tree in your\nbrowser.\n\nanyway, all solutions looking for a problem at the moment, let's use this\nand see how we like it.\n\nanother slightly orthogonal improvement, as long as we're opening `path` on\n`origin/master`, could be to have a flag that would open `path` on the\nlatest commit on `origin/master` (basically just pressing \"y\" for you on\npage load).\n\nI'm not desperate for any of this though.\n\nOn Thu, Mar 5, 2015 at 1:28 PM Dan Vanderkam <notifications@github.com>\nwrote:\n\n> Would that require running git fetch first, or does it actually go out\n> and check the remote?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ryan-williams/git-helpers/pull/60#issuecomment-77420446>\n> .\n>\n"}}