を実行するgit commit -aと、次のように表示されます。
  # Please enter the commit message for your changes. Lines starting
  # with '#' will be ignored, and an empty message aborts the commit.
  # On branch better_tag_show
  # Changes to be committed:
  #   (use "git reset HEAD <file>..." to unstage)
  #
  # modified:   ../assets/stylesheets/application.css
  # modified:   ../views/pages/home.html.erb
  # modified:   ../views/tags/show.html.erb
  # modified:   ../../db/seeds.rb
  #
  # Untracked files:
  #   (use "git add <file>..." to include in what will be committed)
  #
  # ../assets/stylesheets/
  # ../views/pages/
これらの追跡されていないファイルはどういう意味ですか?すべての変更は確かに追跡されています。ここでgitが追跡されていないファイルについて警告している理由がわかりません。
編集:
わかりました、混乱した返信がたくさんあります。これは私がgit commit -aこれの後に何が起こるかです。
# On branch master
nothing to commit (working directory clean)
ご覧のとおり、変更が適用された4つのファイル以外には何もありません。
私の質問は次のように言い換える必要があります:このコミットのすべての変更が追跡されているのに、追跡されていないファイルについてgitが警告を表示するのはなぜですか?
つまり、git commitメッセージの追跡されていない警告は不要ですか?
(use "git add <file>..." to include in what will be committed)