【发布时间】:2011-07-08 08:48:20
【问题描述】:
我有一些文件/文件夹无法离开 Git 暂存区?
# On branch master
# Changed but not updated:
# (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: JavaScript/Stand.ard.iz.er (modified content, untracked content)
# modified: Site (untracked content)
# modified: Template Archives/Template (modified content, untracked content)
# modified: Template Archives/Template_Git (modified content, untracked content)
#
我已经尝试了所有方法来提交这些“修改”的文件,但没有成功?
我试过了……
git add .
git add *
git add -u
git add {actual full directory path}
...但这些都不起作用。
有什么想法吗?
谢谢。
【问题讨论】:
标签: git git-submodules staging