Slide 13
Slide 13 text
13
30
$ git commit
デフォルトエディタ(Vim)が開いて、以下のような画面が出てくる
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch main
#
# Initial commit
#
# Changes to be committed:
# new file: README.md
#
• コミットメッセージを書け
• 行頭に「#」がある行は無視される
• 空メッセージならコミットを中断する