mirror of https://github.com/CrimsonTome/tldr.git
git-revert: add specific commit example (#9833)
parent
20ce3c4696
commit
333d66b562
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
`git revert HEAD~{{4}}`
|
`git revert HEAD~{{4}}`
|
||||||
|
|
||||||
|
- Revert a specific commit:
|
||||||
|
|
||||||
|
`git revert {{0c01a9}}`
|
||||||
|
|
||||||
- Revert multiple commits:
|
- Revert multiple commits:
|
||||||
|
|
||||||
`git revert {{branch_name~5..branch_name~2}}`
|
`git revert {{branch_name~5..branch_name~2}}`
|
||||||
|
|
Loading…
Reference in New Issue