---
title: "回退到前一版本"
author: "xiaomiya"
date: "2020-07-15T16:16:27Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2020-07-15T16:16:27Z"
id: 2515675
url: "https://xiaomiya.iteye.com/blog/2515675"
---

# 回退到前一版本

回退到前一版本  （好的那个版本号）

1\. git reset --hard 46b66217d92af8c64bcd1d796fe67695022c9d54

 

2\. git push -f -u

 

 

3,merge后后悔了，

撤回merge

git merge --abort