Open hujiejeff opened 4 years ago
git status file/. git diff file/. git checkout file/. git add file/.
增补提交
git add file git commit --amend 增补提交
push
git push git push origin HEAD:refs/for/branch
冲突解决
git pull后提示冲突 git stash 本地修改过放入临时暂存区 git pull 拉取 git stash list 查看零时暂存区 git stash pop stash@{num} 恢复 手动冲突解决 <<<<< Update upstream 拉取内容 ===== 自己内容 >>>>> Stash merage
增补提交
push
git push git push origin HEAD:refs/for/branch
冲突解决