hub: pull-request error: not currently on any branch

My problem: I could not use pull-request at all, I kept getting this error

$ git pull-request -b <user>:master -h DancingQuanta:extra-syntaxes
Aborted: not currently on any branch.

I am on Cygwin with Windows executable hub.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

i am using a bash alias to get around this: alias pr=‘hub pull-request --head=git rev-parse --symbolic-full-name HEAD