Default behaviour of forgit

How forgit fans a command out across every forge, and how to perform instance specific operations.

By default forgit runs an action against all the available forges in parallel. Every forge that has a token in your config takes part, so one command can create a repo on GitHub, GitLab and the rest at once.

Targeted operations on a single forge

Pass --instance <forge> to run the action on one forge only:

forgit repo create testrepo --instance github --public

--instance accepts a built-in forge name (github, gitlab, forgejo, bitbucket, sourcehut) or the name of a custom [[instance]] from your config.

Comments