The 'README' file has been added to your staging area, now commit it.
'README' 文件已經(jīng)添加到暫存區(qū)了,現(xiàn)在提交它吧。
承上關(guān),把文件添加到暫存區(qū)以后,就該提交文件了。提交命令是 git commit
,像下面這樣寫:
$ git commit -m "your message"
加一個 -m 參數(shù),表示要寫備注,備注寫在最后。
第4關(guān)過關(guān)畫面如下:
http://wiki.jikexueyuan.com/project/githug-walkthrough/images/level-4-commit.png" alt="第4關(guān) commit" />