当我执行git status
时,我看到的是:
$ git status
# On branch master
# Your branch is ahead of 'github/master' by 1 commit.
# (use "git push" to publish your local commits)
#
# 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: octopress (modified content, untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")
当我执行
git rm -rf octopress
命令时,会看到以下信息:$ git rm -rf octopress
error: submodule 'octopress' (or one of its nested submodules) uses a .git directory
(use 'rm -rf' if you really want to remove it including all of its history)
您对此有何看法?