Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/git/git-arc.1
Show All 35 Lines | |||||
.Op Fl l | .Op Fl l | ||||
.Op Fl r Ar reviewer1 Ns Op Cm \&, Ns Ar reviewer2 ... | .Op Fl r Ar reviewer1 Ns Op Cm \&, Ns Ar reviewer2 ... | ||||
.Op Fl s Ar subscriber1 Ns Op Cm \&, Ns Ar subscriber2 ... | .Op Fl s Ar subscriber1 Ns Op Cm \&, Ns Ar subscriber2 ... | ||||
.Op Fl p Ar parent | .Op Fl p Ar parent | ||||
.Op Ar commit ... Ns | Ns Ar commit-range | .Op Ar commit ... Ns | Ns Ar commit-range | ||||
.Nm | .Nm | ||||
.Cm list Ar commit ... Ns | Ns Ar commit-range | .Cm list Ar commit ... Ns | Ns Ar commit-range | ||||
.Nm | .Nm | ||||
.Cm patch Ar diff1 Ns Op Cm \&, Ns Ar diff2 | .Cm patch | ||||
.Op Fl c | |||||
.Ar diff1 Ns Op Cm \&, Ns Ar diff2 | |||||
.Nm | .Nm | ||||
.Cm stage | .Cm stage | ||||
.Op Fl b Ar branch | .Op Fl b Ar branch | ||||
.Op Ar commit ... Ns | Ns Ar commit-range | .Op Ar commit ... Ns | Ns Ar commit-range | ||||
.Nm | .Nm | ||||
.Cm update | .Cm update | ||||
.Op Fl m Ar message | .Op Fl m Ar message | ||||
.Op Ar commit ... Ns | Ns Ar commit-range | .Op Ar commit ... Ns | Ns Ar commit-range | ||||
▲ Show 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | |||||
The title of the commit must be the same as it was when the review | The title of the commit must be the same as it was when the review | ||||
was created. | was created. | ||||
Note that the review description is not automatically updated. | Note that the review description is not automatically updated. | ||||
.Pp | .Pp | ||||
Apply the patch in review D12345 to the currently checked-out tree, | Apply the patch in review D12345 to the currently checked-out tree, | ||||
and stage it: | and stage it: | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
$ git arc patch D12345 | $ git arc patch D12345 | ||||
.Ed | |||||
.Pp | |||||
Apply the patch in review D23456 to the currently checked-out tree, | |||||
and commit it to the tree with the commit message in the review and | |||||
make the best guess for what to use for author. | |||||
If the guess is considered unreliable, the user is prompted to see | |||||
if they wish to use it (or abort). | |||||
.Bd -literal -offset indent | |||||
$ git arc patch -c D23456 | |||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
List the status of reviews for all the commits in the branch | List the status of reviews for all the commits in the branch | ||||
.Dq feature : | .Dq feature : | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
$ git arc list main..feature | $ git arc list main..feature | ||||
.Ed | .Ed | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
Show All 15 Lines |