У меня есть проект + подмодуль RestKit. Ошибка появилась при изменении настроек RestKit. Я добавил поддержку архитектуры armv6 и armv7.
git add .
git add -u
git commit -m "new"
# 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: RestKit (modified content)
#
Как исправить эту ошибку.
ОБНОВЛЕНИЕ: я не использую git add RestKit.
ОБНОВЛЕНИЕ 2: Структура моего проекта такова:
Я добавил подмодуль как
git submodule update -i