Name

commit

Synopsis

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

Commit the changes made to files in the sandbox to the repository.

The standard meanings of the common client options -l, -n, -r, and -R apply. Additional options are listed in Table 18-22.

Table 18-22. commit options

Option

Description

-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.

Use of the -r option causes the revision to be sticky, requiring the use of admin -A to continue to use the sandbox.

Get Mac OS X in a Nutshell 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.