1408 |
.IX "commit (subcommand)" |
.IX "commit (subcommand)" |
1409 |
.SP |
.SP |
1410 |
.IP "\(bu" 2 |
.IP "\(bu" 2 |
1411 |
Synopsis: commit [-lnRf] [-m \(aqlog_message\(aq | |
Synopsis: commit [-glnRf] [-m \(aqlog_message\(aq | |
1412 |
-F file] [-r revision] [files\&...] |
-F file] [-r revision] [--sign] [--sign-template \fItemplate\fR] |
1413 |
|
[--sign-arg \fIarg\fR]\&... [files\&...] |
1414 |
.IP "\(bu" 2 |
.IP "\(bu" 2 |
1415 |
Requires: working directory, repository. |
Requires: working directory, repository. |
1416 |
.IP "\(bu" 2 |
.IP "\(bu" 2 |
1535 |
Use \fImessage\fR as the log message, instead of |
Use \fImessage\fR as the log message, instead of |
1536 |
invoking an editor. |
invoking an editor. |
1537 |
.SP |
.SP |
1538 |
|
.IP "" 0 |
1539 |
|
\fB-g\fR |
1540 |
|
.IP "" 2 |
1541 |
|
.IP "" 0 |
1542 |
|
\fB--sign\fR |
1543 |
|
.IP "" 2 |
1544 |
|
.IP "" 0 |
1545 |
|
\fB--nosign\fR |
1546 |
|
.IP "" 2 |
1547 |
|
Force OpenPGP signatures on or off. \fB-g\fR & \fB--sign\fR will cause the |
1548 |
|
commit to abort if the server does not support OpenPGP signatures. Without one |
1549 |
|
of these options, CVS will autonegotiate signing, attempting to sign commits |
1550 |
|
when the server supports it. Overrides the \fBsign\fR and \fBnosign\fR |
1551 |
|
method options. |
1552 |
|
.SP |
1553 |
|
.IP "" 0 |
1554 |
|
\fB--sign-template \fItemplate\fB\fR |
1555 |
|
.IP "" 2 |
1556 |
|
Use \fItemplate\fR as the command line template to generate OpenPGP signatures. |
1557 |
|
Format strings in this template are substituted before the commit is run: |
1558 |
|
.SP |
1559 |
|
.IP "" 2 |
1560 |
|
\fB%t\fR |
1561 |
|
.IP "" 4 |
1562 |
|
Substitute in the textmode flag (defaults to \fB--textmode\fR) when a |
1563 |
|
signature is being generated for a text file. |
1564 |
|
.SP |
1565 |
|
.IP "" 2 |
1566 |
|
\fB%a\fR |
1567 |
|
.IP "" 4 |
1568 |
|
Substitute in any \fIarg\fRs set via the \fB--sign-arg\fR option or the |
1569 |
|
CVSROOT sign-arg method option. |
1570 |
|
.SP |
1571 |
|
.IP "" 2 |
1572 |
|
\fB%s\fR |
1573 |
|
.IP "" 4 |
1574 |
|
Substitute the name of the file to generate a signature for. |
1575 |
|
.SP |
1576 |
|
This template should send the generated signature to its standard output. |
1577 |
|
Overrides the \fBsign-template\fR method optoin and defaults to something like |
1578 |
|
\fB/usr/bin/gpg --detach-sign --output - %t %a %s\fR. |
1579 |
|
.SP |
1580 |
.SH "commit examples" |
.SH "commit examples" |
1581 |
.SP |
.SP |
1582 |
.SS "Committing to a branch" |
.SS "Committing to a branch" |