Even after doing git add -A, when I run git status, I get this:
# 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: src/cartographer (modified content, untracked content)
# modified: src/cartographer_ros (untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")
Any idea how to fix this?
git commitsaves fromgit status, not quite the same as whatgit statuswrites directly, which makes me wonder: (a) what version of Git are you using and (b) are you in a subdirectory of the top-level directory? Rungit --versionandgit rev-parse --show-cdupto find out if my suspicion is correct: Git version number below 2.0, and in a subdirectory from whichsrc/*is../src/*.git add -Ais a valid command...