Commit Diff


commit - 5c1e53bc728ac0524d0471886bbc19f0b95e6c55
commit + cfce0458c9dc348a48d88137318ce86f76dc7766
blob - 035a4e65253b48d82854f14665a3b2406de2bac6
blob + 5de835aab1158e5d29e2e01be0afe708f57d3b3b
--- got/got.1
+++ got/got.1
@@ -519,6 +519,15 @@ option,
 .Cm got commit
 opens a temporary file in an editor where a log message can be written.
 .El
+.Pp
+.Cm got commit
+will refuse to run if certain preconditions are not met.
+Local changes may only be committed if they are based on file content
+found in the most recent commit on the work tree's branch.
+If a path is found to be out of date,
+.Cm got update
+must be used first in order to merge local changes with changes made
+in the repository.
 .It Cm ci
 Short alias for
 .Cm commit .