既存のブランチであるレッスンをチェックアウトし、いくつかのファイルの変更を開始し、1 つを削除しました。
git add .
と を実行した後git commit
、いくつかの変更がコミットされましたが、他の変更はコメント テキストの最後で分離されました。私が理解している限り、手動でいくつかの操作を行う必要があります。
だから、削除されたファイルのために私がしたgit rm file.name
. この部品を手に入れました。
14~17行目はどうすればいいですか?
これらのファイルはすべて以前に作成されたもので、新しいものではありません。
どうもありがとうございました!
1
2 # Please enter the commit message for your changes. Lines starting
3 # with '#' will be ignored, and an empty message aborts the commit.
4 # On branch lessons
5 # Changes to be committed:
6 # (use "git reset HEAD <file>..." to unstage)
7 #
8 deleted: ../layouts/]
9 #
10 # Changes not staged for commit:
11 # (use "git add <file>..." to update what will be committed)
12 # (use "git checkout -- <file>..." to discard changes in working directory)
13 #
14 # modified: ../courses/show.html.slim
15 # modified: ../layouts/_header.html.slim
16 # modified: ../student_levels/_student_level.html.slim
17 # modified: ../subjects/_subject.html.slim
18 #