Git 每次提交代码,都要写 Commit message(提交说明),否则就不允许提交。
$ git commit -m "hello world"
上面代码的 -m 参数,就是用来指定 commit mesage 的。
如果一行不够,可以只执行 git commit,就会跳出文本编辑器,让你写多行。
文章太长,请移步 https://blog.coding.net/blog/commit_message_change_log 看吧
$ git commit -m "hello world"
上面代码的 -m 参数,就是用来指定 commit mesage 的。
如果一行不够,可以只执行 git commit,就会跳出文本编辑器,让你写多行。
文章太长,请移步 https://blog.coding.net/blog/commit_message_change_log 看吧