-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the -fork flag to submit PRs from forks (#77)
Add a new -fork flag to the CLI which will submit a pull request from a fork, creating it if it does not exist. This avoids needing write access on the target repository. Also add the -fork-repository flag, which sets a custom name and owner for the fork. The default is to create a fork with the same name as the target, owned by the current user. Last, modify the error handler to print a hint on any 404 error that the problem might be due to permissions. It should maybe print the same message on 403 errors, but I haven't seen an example of that yet.
- Loading branch information
Showing
3 changed files
with
241 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.