我在哪里可以找到有关column.status语法的信息?

And*_*man 8 git git-status

从关于命令的Git文档git status:

--column [= <options>]
--no-column
在列中显示未跟踪的文件.有关column.status选项语法,请参阅配置变量 --column并且--no-column 没有选项相当于始终永远不会分别.

我看不到选项的语法,因为git config column.status什么都没有返回.我在哪里可以找到有关此语法的信息?该git help status命令显示相同的信息.

Ale*_*ein 5

查看手册页git-config,git config --help或者man git-config应该给你手册页.这个选项column.ui说明了我在这里为您展示的描述:

column.ui
   Specify whether supported commands should output in columns. 
   This variable consists of a list of tokens separated by spaces or commas:

   These options control when the feature should be enabled (defaults to never):

   always
       always show in columns

   never
       never show in columns

   auto
       show in columns if the output is to the terminal

   These options control layout (defaults to column). Setting any of these implies always if none of always, never, or auto are specified.

   column
       fill columns before rows

   row
       fill rows before columns

   plain
       show in one column

   Finally, these options can be combined with a layout option (defaults to nodense):

   dense
       make unequal size columns to utilize more space

   nodense
       make equal size columns
Run Code Online (Sandbox Code Playgroud)