git-commit

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

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

原文地址:https://www.cnblogs.com/nomadcirlce/p/8064345.html