commit fc62dacd88663035e71fd2a30864a88216793660
from: Stefan Sperling
date: Thu Aug 08 12:50:39 2019 UTC
sync man pge
commit - cdd51db24dcce1a0666c5a00d3cbbbe6851f6d13
commit + fc62dacd88663035e71fd2a30864a88216793660
blob - 693753d5fba7f6e7cccd111a459cab627e556718
blob + a9b70f335fa31d7d78766517b5f65224a4dbbc42
--- got.1.html
+++ got.1.html
@@ -298,16 +298,16 @@
file deletion is staged |
- If a path has staged changes, modification status of files
- shown in the first output column is relative to the staged changes:
+ Changes created on top of staged changes are indicated in the
+ first column:
MM |
- modified file was modified again after being staged |
+ file was modified after earlier changes have been staged |
MA |
- added file was modified after being staged |
+ file was modified after having been staged for addition |
@@ -978,7 +978,7 @@
changes relative to staged changes, and to display staged changes
relative to the repository. The got revert
command cannot revert staged changes but may be used to revert local
- changes relative to staged changes.
+ changes created on top of staged changes.
The options for got stage
are as
follows:
@@ -989,11 +989,12 @@
the specified paths. Otherwise, show all staged paths.
-p
- 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.
+ select or reject changes for staging based on “y” (stage
+ change), “n” (reject change), and “q”
+ (quit staging this file) 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 only be staged or
+ rejected in their entirety.
-F
response-script
- With the
-p
option, read “y”,
@@ -1019,7 +1020,8 @@
sg
- Short alias for
stage
.
unstage
- [path ...]
+ [-p
] [-F
+ response-script] [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. Otherwise, unstage
@@ -1052,6 +1054,24 @@
changes destined for a non-regular file were not merged |
+ The options for got unstage
are as
+ follows:
+
+ -p
+ - Instead of unstaging the entire content of a changed file,
+ interactively select or reject changes for unstaging based on
+ “y” (unstage change), “n” (keep change
+ staged), and “q” (quit unstaging this file) responses.
+ If a file is staged in modified status, individual patches derived
+ from the staged file content can be unstaged. Files staged in added or
+ deleted status may only be unstaged in their entirety.
+ -F
+ response-script
+ - With the
-p
option, read “y”,
+ “n”, and “q” responses line-by-line from
+ the specified response-script file instead of
+ prompting interactively.
+
ug
- Short alias for
unstage
.
@@ -1253,7 +1273,7 @@ Clone an existing Git repository for use with