git-commit

git commit 提交的是暂存区里面的内容,也就是 Changes to be committed 中的文件。

git commit -a 除了将暂存区里的文件提交外,还提交 Changes bu not updated 中的文件。

posted @ 2017-12-19 10:43  袁进才  阅读(127)  评论(0编辑  收藏  举报