{"action":"opened","issue":{"url":"https://api.github.com/repos/bgreenlee/sublime-github/issues/85","labels_url":"https://api.github.com/repos/bgreenlee/sublime-github/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/bgreenlee/sublime-github/issues/85/comments","events_url":"https://api.github.com/repos/bgreenlee/sublime-github/issues/85/events","html_url":"https://github.com/bgreenlee/sublime-github/issues/85","id":100250542,"number":85,"title":"Github commands fail if current branch has not been pushed to origin","user":{"login":"edmorley","id":501702,"avatar_url":"https://avatars.githubusercontent.com/u/501702?v=3","gravatar_id":"","url":"https://api.github.com/users/edmorley","html_url":"https://github.com/edmorley","followers_url":"https://api.github.com/users/edmorley/followers","following_url":"https://api.github.com/users/edmorley/following{/other_user}","gists_url":"https://api.github.com/users/edmorley/gists{/gist_id}","starred_url":"https://api.github.com/users/edmorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmorley/subscriptions","organizations_url":"https://api.github.com/users/edmorley/orgs","repos_url":"https://api.github.com/users/edmorley/repos","events_url":"https://api.github.com/users/edmorley/events{/privacy}","received_events_url":"https://api.github.com/users/edmorley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-11T08:00:03Z","updated_at":"2015-08-11T08:00:03Z","closed_at":null,"body":"1) Clone a repo from Github\r\n2) checkout -b my_feature_branch\r\n3) Use one of the Github URL related commands (eg view history for a file), when a colleague asks for an unrelated link on IRC - and you've forgotten you're not on master.\r\n\r\nExpected:\r\nOne of...\r\na) If my_feature_branch isn't present on origin, then s/my_feature_branch/master/ in the generated URL \r\nb) Show a warning and do nothing\r\n\r\nActual:\r\nThe generated URL 404s, since that branch does not exist yet on Github."}}