@@ -49,6 +49,9 @@ OPTIONS
49
49
twice, then also show the changes in the working tree that
50
50
have not yet been staged (i.e., like the output of `git diff`).
51
51
52
+ When given twice with `--porcelain`, additional output is enabled.
53
+ See the section entitled "Very Verbose Porcelain Format" for details.
54
+
52
55
-u[<mode>]::
53
56
--untracked-files[=<mode>]::
54
57
Show untracked files.
@@ -207,6 +210,86 @@ field from the first filename). Third, filenames containing special
207
210
characters are not specially formatted; no quoting or
208
211
backslash-escaping is performed.
209
212
213
+ Very Verbose Porcelain Format
214
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215
+
216
+ When --verbose is given twice along with --porcelain, additional output
217
+ is provided.
218
+
219
+ If --branch is given, the first line shows a summary of the current
220
+ operation in progress. This line begins with "### state: ", the name
221
+ of the operation in progress, and then operation-specific information.
222
+ Fields are separated by a single space.
223
+
224
+ Operation Fields Explanation
225
+ ------------------------------------------------------------------
226
+ clean
227
+ ------------------------------------------------------------------
228
+ merge <nr> Number unmerged
229
+ ------------------------------------------------------------------
230
+ am [E] Present if the current patch
231
+ is empty
232
+ ------------------------------------------------------------------
233
+ rebase <nr> Number unmerged
234
+ [S] Present if split commit in
235
+ progress during rebase
236
+ [E] Present if editing a commit
237
+ during rebase
238
+ [I(<done>/<total>)] Present if in an interactive
239
+ rebase. Step counts are given.
240
+ [<current>:<onto>] Rebase branches
241
+ ------------------------------------------------------------------
242
+ cherrypick <sha>
243
+ <nr> Number unmerged
244
+ ------------------------------------------------------------------
245
+ revert <sha>
246
+ <nr> Number unmerged
247
+ ------------------------------------------------------------------
248
+ bisect [<branch>]
249
+ ------------------------------------------------------------------
250
+
251
+ If --branch is given, the second line shows branch tracking information.
252
+ This line begins with "### track: ". Fields are separated by a single
253
+ space, unless otherwise indicated.
254
+
255
+ Field Meaning
256
+ --------------------------------------------------------
257
+ <sha> | "(initial)" Current commit
258
+ <branch> | "(detached)" Current branch
259
+ ":"<upstream> Upstream branch, if set
260
+ "+"<ahead> Ahead count, if upstream present
261
+ "-"<behind> Behind count, if upstream present
262
+ --------------------------------------------------------
263
+
264
+ A series of lines are then displayed for the tracked entries.
265
+ Lines have one of the following formats:
266
+
267
+ XYS mH mI mW shaH shaI PATH
268
+ XYS mH mI mW shaH shaI score OLD_PATH\tPATH
269
+ XYS m1 m2 m3 mW sha1 sha2 sha3 PATH
270
+
271
+ * X and Y were described in the short format section.
272
+ * S is a one character summary of the submodule status with values '0'..'7'
273
+ representing the sum of: 4 when submodule has a new commit, 2 when the
274
+ submodule is modified, and 1 when the submodule contains untracked changes.
275
+ The value is ' ' if the entry is not a submodule.
276
+ * mH, mI, and mW are the 6 digit octal modes for the head, index, and worktree
277
+ versions of the entry.
278
+ * m1, m2, and m3 are the modes for the stage 1, 2, and 3 versions of the entry
279
+ when in an unmerged state.
280
+ * shaH and shaI are the 40 character hashes for the head and index version.
281
+ * sha1, sha2, and sha3 are the hashes for the stage 1, 2, and 3 versions of
282
+ the entry when in an unmerged state.
283
+ * score is the rename percentage score.
284
+ * PATH is the current path.
285
+ * OLD_PATH is the source path for a staged rename.
286
+
287
+ A series of lines are then displayed for untracked and ignored entries.
288
+
289
+ XXX PATH
290
+
291
+ * XXX is "???" for untracked entries and "!!!" for ignored entries.
292
+
210
293
CONFIGURATION
211
294
-------------
212
295
0 commit comments