lindell / multi-gitter

Update multiple repositories in with one command
Apache License 2.0
895 stars 66 forks source link

Feature request: fork only when necessary #438

Open bienzaaron opened 11 months ago

bienzaaron commented 11 months ago

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 commented 11 months ago

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