Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: fork only when necessary #438

Open
bienzaaron opened this issue Dec 1, 2023 · 1 comment
Open

Feature request: fork only when necessary #438

bienzaaron opened this issue Dec 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@bienzaaron
Copy link

The feature request
I would like the ability to fork a repository, only if I don't have access to push to the target branch on the main repository.

I think this could be accomplished by adding a --fork-if-necessary flag, or alternatively by adding additional behavior to fork like: --fork=necessary | --fork=always, where --fork implies --fork=always.

My use case
Some checks exists on certain repos of mine (which are out of my control) where certain files can only be modified by a PR from the main repo. This would allow me to push to the main repo wherever possible and satisfy those checks.

@bienzaaron bienzaaron added the enhancement New feature or request label Dec 1, 2023
@bienzaaron
Copy link
Author

I am open to contributing this feature if it makes sense to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant