{"action":"opened","issue":{"url":"https://api.github.com/repos/floatplane/git_pr/issues/29","labels_url":"https://api.github.com/repos/floatplane/git_pr/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/floatplane/git_pr/issues/29/comments","events_url":"https://api.github.com/repos/floatplane/git_pr/issues/29/events","html_url":"https://github.com/floatplane/git_pr/issues/29","id":117216807,"number":29,"title":"Catch case where branch is pushed with no tracking info","user":{"login":"floatplane","id":101196,"avatar_url":"https://avatars.githubusercontent.com/u/101196?v=3","gravatar_id":"","url":"https://api.github.com/users/floatplane","html_url":"https://github.com/floatplane","followers_url":"https://api.github.com/users/floatplane/followers","following_url":"https://api.github.com/users/floatplane/following{/other_user}","gists_url":"https://api.github.com/users/floatplane/gists{/gist_id}","starred_url":"https://api.github.com/users/floatplane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatplane/subscriptions","organizations_url":"https://api.github.com/users/floatplane/orgs","repos_url":"https://api.github.com/users/floatplane/repos","events_url":"https://api.github.com/users/floatplane/events{/privacy}","received_events_url":"https://api.github.com/users/floatplane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-16T21:01:03Z","updated_at":"2015-11-16T21:01:03Z","closed_at":null,"body":"```\r\nbrian [12:51 PM] \r\nok, let's try this:\r\n$ git for-each-ref --format='%(upstream:short)' refs/heads/feature/shapeSampleRate3\r\nmattfeizli/feature/shapeSampleRate3\r\n\r\nmattfeiszli [12:53 PM] \r\nis that second line the output that you get, or is that part of the command?\r\n\r\nbrian [12:53 PM] \r\noutput\r\n\r\nmattfeiszli [12:53 PM] \r\nok, i see this:\r\n\r\nbrian [12:53 PM] \r\nbut yours should say \"matt\"\r\n\r\nmattfeiszli [12:53 PM] \r\n~/gitclients/PaperSDKCore (feature/shapeSampleRate3) $ git for-each-ref --format='%(upstream:short)' refs/heads/feature/shapeSampleRate3\r\n\r\n~/gitclients/PaperSDKCore (feature/shapeSampleRate3) $\r\n\r\nbrian [12:54 PM] \r\ni don't think your branch has tracking info set. try this: `git push -u origin feature/shapeSampleRate3`\r\n\r\n​[12:54] \r\n(\"-u\" is shorthand for \"--set-upstream-to\")\r\n\r\nmattfeiszli [12:54 PM] \r\nshould origin be matt given my setup?\r\n\r\nbrian [12:54 PM] \r\nsorry, yes.\r\n\r\n​[12:55] \r\ngood catch :simple_smile:\r\n\r\nmattfeiszli [12:55 PM] \r\nno problem…  Peter always complains about my backwards setup.  :simple_smile:\r\n\r\nbrian [12:55 PM] \r\ncrazily enough, your setup is the same as mine...and i'm still messing up :simple_smile:\r\n\r\nmattfeiszli [12:55 PM] \r\nHa!\r\n\r\n​[12:55] \r\n~/gitclients/PaperSDKCore (feature/shapeSampleRate3) $ git push -u matt feature/shapeSampleRate3\r\nBranch feature/shapeSampleRate3 set up to track remote branch feature/shapeSampleRate3 from matt by rebasing.\r\nEverything up-to-date\r\n\r\nbrian [12:55 PM] \r\ncool. now try `git pr o`\r\n\r\nmattfeiszli [12:56 PM] \r\n(2-factor auth delay… but it appears to be working…)\r\n\r\n​[12:56] \r\ndisco… that did it.\r\n```"}}