R136 Push before you leave a machine

On by default

Push your work to the remote before you leave a machine.

Reason

Where work goes on across several machines, the remote is the reference. Commits on one machine only are seen by no other machine and no other agent, so nobody else can check them (Art. VII §1(1)), and they are lost when that machine is reclaimed or fails.

Verification

The remote is the one the repository treats as the reference, usually origin. Leaving a machine means ending the session or task on it, or handing the work to a person or agent on another machine.

Violated when commits are still unpushed on leaving.

Provisions of the constitution it cites

Relations

Parent
R127 Machines and Working Directories
Requires
none
Conflicts with
none

Metadata

ID
136
Revision
2
Kind
rule
Status
trial
Slug
push-before-leaving-machine
Default level
user
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh