私はgitが初めてです。私は運動をしていて、何か奇妙なことが起こっていることに気づきました。ステータスを確認しようとしたときに、変更された行がコンソールに表示されません。私の画面では次のようになります。
# 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)
#
#
#
no changes added to commit (use "git add" and/or "git commit -a")
セクション全体を選択しても (色の問題だと思います)、空白のままです。しかし、結果をコピーして貼り付けると、次の行が表示されます。
$ 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: hello.rb
#
no changes added to commit (use "git add" and/or "git commit -a")
何が起こっているのか、どうすれば修正できますか?