Merge pull request #2 from Liqiuyue9597/patch-1
Update rewind-to-commit.md
This commit is contained in:
@ -16,7 +16,7 @@ git reset [--hard] <commit>
|
|||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git reset --hard 3050fc0d3
|
git reset 3050fc0d3
|
||||||
# Rewinds back to `3050fc0d3` but keeps changes in the working directory
|
# Rewinds back to `3050fc0d3` but keeps changes in the working directory
|
||||||
|
|
||||||
git reset --hard c0d30f305
|
git reset --hard c0d30f305
|
||||||
|
|||||||
Reference in New Issue
Block a user