Why would I get items in the Changes not staged for commit after I run git add .?
> git add .
> git st
# 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: bin/ls-- (modified content, untracked content)
#
This is on Red Hat 4.1.2-50 with git 1.7.10.
It appears, that
bin/lsis a submodule.When you
cdinto this directory and rungit statusyou should see what content is modified and untracked, and you will be able to commit that into the sumbodule’s base repository.After that, when there will be a new commit at the HEAD of submodule’s repository you can
git addthis change in your main repository and commit there.