git提交一般流程:
git add 修改文件 //将代码从工作区放入暂存区 git commit -m '修改信息' //将暂存区的信息写入版本库
git commit -a -m 实现了上述两条命令合并一起的操作,相当于
git add * git commit -m 'message'