「変更されましたが更新された平均」とは何ですか?これらのファイルはgitにあり、変更されていますが、 "git status"を実行すると、 "Changes to commit"の代わりに "Changed but updated"の下に表示されます。Git:ファイルは「変更されましたが更新されていません」
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: breakouts/views.py
#
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: templates/registration/login.html
# modified: templates/registration/registration.html
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# context_processors.py
# static/#css.css#
なぜ「変更がコミットされました」ではないのですか?
ここでの重要なアイデアは、 'git add'を使うことです。コミットを準備することです。ステージング領域(インデックス)に変更を加えて、コミットしたいものをステージしたら、コミットします。これにより、コミットに何が入るかを非常に注意することができます。 – Cascabel