提交的是修改,不是文件
例如,两次 add 变更,一次提交
如果已经 add 了,到了暂缓区, 先
git checkout xxx 创建分支
git config --list $ git config --global user.name "Your Name" $ git config --global user.email "email@example.com"
pull
push
origin master
git commit -m "wrote a readme file"
rebase
revert