gemlog/public/en/safe-rollback-to-git-commit.gmi
2025-09-11 12:43:12 +03:00

8 lines
No EOL
163 B
Text

# Safe rollback to Git commit
Lot of options, but I prefer only this one:
``` bash
git revert --no-commit hash..HEAD
```
* where `hash` is the actual commit hash