keith / git-pile

Stacked diff support for GitHub workflows
MIT License
146 stars 11 forks source link

Onto flag yields: unknown flag #19

Closed bangerang closed 2 years ago

bangerang commented 2 years ago

Steps to reproduce:

$ touch file1
$ git add -A
$ git commit -m "file1"
$ git submitpr
$ touch file2
$ git commit -m "file2"
$ git submitpr --onto head~1
unknown flag: --onto

Usage:  gh pr create [flags]
Flags:
  -a, --assignee login       Assign people by their login. Use "@me" to self-assign.
  -B, --base branch          The branch into which you want your code merged
  -b, --body string          Body for the pull request
  -F, --body-file file       Read body text from file (use "-" to read from standard input)
  -d, --draft                Mark pull request as a draft
  -f, --fill                 Do not prompt for title/body and just use commit info
  -H, --head branch          The branch that contains commits for your pull request (default: current branch)
  -l, --label name           Add labels by name
  -m, --milestone name       Add the pull request to a milestone by name
      --no-maintainer-edit   Disable maintainer's ability to modify pull request
  -p, --project name         Add the pull request to projects by name
      --recover string       Recover input from a failed run of create
  -r, --reviewer handle      Request reviews from people or teams by their handle
  -t, --title string         Title for the pull request
  -w, --web                  Open the web browser to create a pull request
keith commented 2 years ago

Sorry I hadn't cut a new release with this one, just did https://github.com/keith/git-pile/releases/tag/0.4.0 you can update with homebrew or manually depending on how you installed it originally. Please file new issues if you find any!