diff --git a/snippets/rewind-to-commit.md b/snippets/rewind-to-commit.md index 283d8ee6a..0d379faa9 100644 --- a/snippets/rewind-to-commit.md +++ b/snippets/rewind-to-commit.md @@ -16,7 +16,7 @@ git reset [--hard] ``` ```shell -git reset --hard 3050fc0d3 +git reset 3050fc0d3 # Rewinds back to `3050fc0d3` but keeps changes in the working directory git reset --hard c0d30f305