Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
git
提交
dca3d715
G
git
项目概览
李少辉-开发者
/
git
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
git
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
dca3d715
编写于
2月 21, 2011
作者:
J
Junio C Hamano
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'maint'
* maint: Documentation: clarify -u<mode> option defaults
上级
a66cee2e
4cc62606
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
14 addition
and
14 deletion
+14
-14
Documentation/git-commit.txt
Documentation/git-commit.txt
+6
-6
Documentation/git-status.txt
Documentation/git-status.txt
+8
-8
未找到文件。
Documentation/git-commit.txt
浏览文件 @
dca3d715
...
@@ -214,10 +214,11 @@ FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
...
@@ -214,10 +214,11 @@ FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
-u[<mode>]::
-u[<mode>]::
--untracked-files[=<mode>]::
--untracked-files[=<mode>]::
Show untracked files
(Default: 'all')
.
Show untracked files.
+
+
The mode parameter is optional, and is used to specify
The mode parameter is optional (defaults to 'all'), and is used to
the handling of untracked files.
specify the handling of untracked files; when -u is not used, the
default is 'normal', i.e. show untracked files and directories.
+
+
The possible options are:
The possible options are:
+
+
...
@@ -225,9 +226,8 @@ The possible options are:
...
@@ -225,9 +226,8 @@ The possible options are:
- 'normal' - Shows untracked files and directories
- 'normal' - Shows untracked files and directories
- 'all' - Also shows individual files in untracked directories.
- 'all' - Also shows individual files in untracked directories.
+
+
See linkgit:git-config[1] for configuration variable
The default can be changed using the status.showUntrackedFiles
used to change the default for when the option is not
configuration variable documented in linkgit:git-config[1].
specified.
-v::
-v::
--verbose::
--verbose::
...
...
Documentation/git-status.txt
浏览文件 @
dca3d715
...
@@ -38,20 +38,20 @@ OPTIONS
...
@@ -38,20 +38,20 @@ OPTIONS
-u[<mode>]::
-u[<mode>]::
--untracked-files[=<mode>]::
--untracked-files[=<mode>]::
Show untracked files
(Default: 'all')
.
Show untracked files.
+
+
The mode parameter is optional, and is used to specify
The mode parameter is optional (defaults to 'all'), and is used to
the handling of untracked files. The possible options are:
specify the handling of untracked files; when -u is not used, the
default is 'normal', i.e. show untracked files and directories.
+
The possible options are:
+
+
--
- 'no' - Show no untracked files
- 'no' - Show no untracked files
- 'normal' - Shows untracked files and directories
- 'normal' - Shows untracked files and directories
- 'all' - Also shows individual files in untracked directories.
- 'all' - Also shows individual files in untracked directories.
--
+
+
See linkgit:git-config[1] for configuration variable
The default can be changed using the status.showUntrackedFiles
used to change the default for when the option is not
configuration variable documented in linkgit:git-config[1].
specified.
--ignore-submodules[=<when>]::
--ignore-submodules[=<when>]::
Ignore changes to submodules when looking for changes. <when> can be
Ignore changes to submodules when looking for changes. <when> can be
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录