GIT回退提交

来源:互联网 发布:php 采集微信文章内容 编辑:程序博客网 时间:2024/05/16 08:42
git checkout existingbranchgit merge mastergit checkout mastergit reset --hard HEAD~3 # Go back 3 commits. You *will* lose uncommitted work.git checkout existingbranch
最后记得push
原创粉丝点击