owenthereal / gh

Fast GitHub command line client (deprecated). gh has been merged into https://github.com/github/hub, see https://github.com/github/hub/issues/475 for more info
MIT License
720 stars 48 forks source link

Unknown revision or path not in the working tree #213

Closed calebhearth closed 10 years ago

calebhearth commented 10 years ago

Every gh command I've tried today has been failing with 2014/05/08 14:14:32 fatal: Unknown revision or path not in the working tree: <thebranch>@{upstream}.

❯ git version
git version 1.9.2
gh version 2.1.0
[gh]
  autoUpdate = always
owenthereal commented 10 years ago

That's strange. I'm able to use it on my machine. Have u checked if the same thing happening to git?

calebhearth commented 10 years ago

Yeah, only happens on gh subcommands: pull-request, browse, and compare for sure - I just tried fork and issue and they work fine, so I'm guessing it's only commands that deal with the current branch.

calebhearth commented 10 years ago

It turns out that I had broken a script that set up remotes for me. This isn't a gh issue.