Skip to content

Commit 1e7f71d

Browse files
committed
no message
1 parent 02d700c commit 1e7f71d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

notes/Git.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,3 +475,17 @@ https://blog.csdn.net/u011478909/article/details/77683754
475475

476476

477477

478+
## 8. Git 回退到制定版本
479+
480+
**回滚到指定的版本**
481+
482+
```shell
483+
git reset --hard e377f60e28c8b84158
484+
```
485+
486+
**强制提交**
487+
488+
```shell
489+
git push -f origin master
490+
```
491+

0 commit comments

Comments
 (0)