Skip to content

Commit a598331

Browse files
committed
Merge branch 'jc/maint-push-doc-status' into maint
* jc/maint-push-doc-status: git-push: document all the status flags used in the output
2 parents 0c15da6 + b7047ab commit a598331

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Documentation/git-push.txt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,17 @@ If --porcelain is used, then each line of the output is of the form:
165165
<flag> \t <from>:<to> \t <summary> (<reason>)
166166
-------------------------------
167167

168+
The status of up-to-date refs is shown only if --porcelain or --verbose
169+
option is used.
170+
168171
flag::
169-
A single character indicating the status of the ref. This is
170-
blank for a successfully pushed ref, `!` for a ref that was
171-
rejected or failed to push, and '=' for a ref that was up to
172-
date and did not need pushing (note that the status of up to
173-
date refs is shown only when `git push` is running verbosely).
172+
A single character indicating the status of the ref:
173+
(space);; for a successfully pushed fast-forward;
174+
`{plus}`;; for a successful forced update;
175+
`-`;; for a successfully deleted ref;
176+
`*`;; for a successfully pushed new ref;
177+
`!`;; for a ref that was rejected or failed to push; and
178+
`=`;; for a ref that was up to date and did not need pushing.
174179

175180
summary::
176181
For a successfully pushed ref, the summary shows the old and new

0 commit comments

Comments
 (0)