git 回滚到上一个版本
2016-10-28 本文已影响147人
Axiba
//1、先回滚代码
git push -f origin master
//2、添加修改到本地仓库
git add .
//3、写修改记录
git commit -m 'reabck code'
//4、强制提交
git push -f origin master
//1、先回滚代码
git push -f origin master
//2、添加修改到本地仓库
git add .
//3、写修改记录
git commit -m 'reabck code'
//4、强制提交
git push -f origin master