1

こんにちは、git リポジトリを開始したばかりで、Windows で git を使用するのはこれが初めてです

とにかく、プロジェクトを追加してコミットしましたが、ファイルを変更するたびに、既に行っているにもかかわらず、再追加す​​る必要があると考えられます。

$ git status
# 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)
#
#       modified:   bonfire/content.php
#       modified:   bonfire/style_1.css
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       .htaccess
#       .htaccess_del
#       .smileys/
#       1.htaccess
#       docs/
#       nbproject/
no changes added to commit (use "git add" and/or "git commit -a")


$ git add bonfire/content.php

$ git status
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       modified:   bonfire/content.php
#
# 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)
#
#       modified:   bonfire/style_1.css
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       .htaccess
#       .htaccess_del
#       .smileys/
#       1.htaccess
#       docs/
#       nbproject/

私は本当にこれを続けてほしくありません。プロジェクトを適切に追加したと思います。何をすべきかまったくわからない

ありがとう

4

1 に答える 1