git-revert: add specific commit example (#9833)

pull/3/head
Managor 2023-02-06 14:58:55 +02:00 committed by GitHub
parent 20ce3c4696
commit 333d66b562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@
`git revert HEAD~{{4}}`
- Revert a specific commit:
`git revert {{0c01a9}}`
- Revert multiple commits:
`git revert {{branch_name~5..branch_name~2}}`