Name

commit

Synopsis

commit  
 [ -f | [ -l | -R ] ]  
 [ -F file | -m message ]
 [ -n ]  
 [ -r revision ]  
 [ file ... ]

Commit the changes (if any) made to the specified files in the sandbox to the repository. If no files are specified, commit all modified files.

The standard meanings of the common client options -l, -n, -r, and -R apply. Use of the -r option causes the revision to be sticky, requiring the use of admin -A to continue to use the sandbox. Additional options are:

-f

Force commit, even if no changes were made.

-F file

Use the contents of the file as the message.

-m message

Use the message specified.

Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.