【问题标题】:Command for adding all files in git status -uno在 git status -uno 中添加所有文件的命令
【发布时间】:2015-12-04 10:24:27
【问题描述】:

我正在尝试添加所有被跟踪的文件。 git add . 似乎添加了所有文件,无论跟踪状态如何。 git status -uno中是否有添加所有文件的git命令?

【问题讨论】:

标签: git


【解决方案1】:

git add -u(或--update)将添加之前由 git 跟踪的任何文件。 git add -A 将添加所有文件,包括以前未跟踪的文件。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-11-20
    • 2014-04-06
    • 1970-01-01
    • 2014-09-16
    • 2015-10-20
    • 2015-08-05
    • 1970-01-01
    • 2017-04-08
    相关资源
    最近更新 更多