commit e0ed36ae557725ae2d42635cf55b09396ebbef58 from: Stefan Sperling date: Wed Aug 07 16:28:55 2019 UTC sync man page commit - a1650ec76e5fd6888ac4dd5210b1ffe86a44247c commit + e0ed36ae557725ae2d42635cf55b09396ebbef58 blob - 871bdb92f5fd2c5e7b0c168a5bd8eb22ad5037b0 blob + 7918d874e9b5e72047228847d761f793c8b49830 --- got.1.html +++ got.1.html @@ -939,10 +939,13 @@
Short alias for histedit.
- [-l] file-path ...
-
Stage local changes at the specified paths for inclusion in the next - commit. Paths may be staged if they are added, modified, or deleted - according to got status. + [-l] [-p] + [-F] [path ...] +
Stage local changes for inclusion in the next commit. If no + path is specified, stage all changes in the work + tree. Otherwise, stage changes at or within the specified paths. Paths may + be staged if they are added, modified, or deleted according to + got status.

Show the status of each affected file, using the following status codes:

@@ -983,6 +986,18 @@ along with the IDs of staged blob objects and stage status codes. If paths were provided in the command line show the staged paths among the specified paths. Otherwise, show all staged paths. +
+
Instead of staging the entire content of a changed file, interactively + select or reject changes for staging based on “y” + (select), “n” (reject), and “q” (quit) + responses. If a file is in modified status, individual patches derived + from the modified file content can be staged. Files in added or + deleted status may be staged or rejected in their entirety.
+
+ path
+
With the -p option, read responses + line-by-line from a script file at the specified + path instead of prompting interactively.

got stage will refuse to run if certain preconditions are not met. If a file contains merge conflicts, @@ -1005,7 +1020,8 @@ [path ...]

Merge staged changes back into the work tree and put affected paths back into non-staged status. If no path is specified, - unstage all staged changes across the entire work tree. + unstage all staged changes across the entire work tree. Otherwise, unstage + changes at or within the specified paths.

Show the status of each affected file, using the following status codes:

@@ -1235,7 +1251,7 @@ Clone an existing Git repository for use with
- +
August 6, 2019August 7, 2019 OpenBSD 6.5