2015-09-14 149 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 
相關問題