【发布时间】:2013-02-02 09:12:26
【问题描述】:
我正在尝试通过 git 添加目录中的所有内容。但是,对于一个特定目录,它会加载文件夹,但不会加载任何内容。我尝试使用
git add -A
但被退回
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: sendgrid-php (untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")
在尝试提交我的更改时。这可能是什么问题?
【问题讨论】:
-
也许您的 .gitignore 文件忽略了文件夹或其内容。
标签: git git-commit git-add