Git操作记录

 

Here’s the table of contents:

  1. 操作

操作

# 撤销某次提交,会自动为你生成一个新的撤销提交
git revert <commit-id>
# 将撤销提交推送到远程
git push