Option to choose repository where to edit the current file
See original GitHub issueCurrently if I’m editing something on my fork through the edit view and I’ll choose to create a new branch and start a pull request, GitHub will redirect me to “Open a pull request” page on the fork I used, not at the repository I forked. While this makes sense, I think it would be great if I were also able to choose different base repository.
Example URL:
https://github.com/jack1142/refined-github/new/master
Where jack1142/refined-github
is someone’s fork you have write access to.
Draft of what I mean (by no means should it be styled like this, but I’m not a web designer 😛)
When I was doing some checking, it looks like this would be possible to solve by editing value of hidden input field with name="quick_pull"
that is placed in the form I sent a screenshot of above. For example, if the value of it is master
, changing it to sindresorhus:master
is gonna make it redirect me to “Open a pull request” page for sindresorhus/refined-github
repository instead.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:13 (13 by maintainers)
Top GitHub Comments
Maybe this could be cached similarly how showing the link to fork (near the fork button at the top of repository) is cached?
But that’s not what I want - I always want to use fork, even if I have the write perm to the original repository. Our workflow is based on forks and we generally avoid creating branches on original repo. I know this project is opinionated, but it seemed valid to ask for a feature that allows to (but doesn’t force you to) choose to which repo you want to make PR, regardless of what repo you’re making the branch on.
I’ll make issue(s) for those in a moment then.