今天调试网站速度发现个坑,git pull的时候没注意分支,直接把测试环境的慢速代码推到线上了...网站瞬间卡成ppt,赶紧回滚版本才救回来(后怕)
git reset --hard HEAD~1
登录/注册