Tôi có dự án của tôi + RestKit submodule. Lỗi xuất hiện khi tôi thay đổi cài đặt RestKit. Tôi đã thêm kiến trúc armv6 và armv7.Lỗi Git: Các thay đổi không được tổ chức cho cam kết
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)
#
Cách khắc phục lỗi này.
CẬP NHẬT: Tôi không chạy git thêm RestKit.
UPDATE2: Các strusture của dự án của tôi là:
tôi thêm submodule như
git submodule update -i
Bạn đã chạy 'git add RestKit' chưa? –
nếu bạn không làm 'git add -u' (chỉ cần' git add .' và 'git commit -m 'message'') – zoran119
Nó cũng không giúp ích gì cho tôi. – Voloda2