R222 Keep work not yet pushed off the main branch

On by default

Keep work not yet pushed only on a branch other than the main branch.

Reason

Where work goes on across several machines, the remote’s main branch is the reference. Work kept only on a local main branch makes that branch differ from the remote’s, so it no longer shows what others can check (Art. VII §1(1)).

Verification

Violated when work not yet pushed is on the main branch.

Provisions of the constitution it cites

Relations

Parent
R77 Git
Requires
none
Conflicts with
none

Metadata

ID
222
Revision
3
Kind
rule
Status
trial
Slug
unpushed-work-off-main
Default level
user
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh