git回滚版本

1.回滚到指定版本

#git reset --hard commit_id 

2.强行推送到远程分支

#git push origin HEAD --force 

posted @ 2019-01-15 16:29  sea24  阅读(48)  评论(0编辑  收藏  举报