2015-09-14 112 views
4

Git documentation有关git status命令:我在哪里可以找到有关column.status语法的信息?

--column [= <选项>]
--no柱
显示在列未跟踪文件。有关选项语法,请参阅配置变量column.status--column--no-column 无选项相当于总是不分别是

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

回答

4

看看git-config的手册页,或者git config --helpman 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 
相关问题