mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 22:42:08 +02:00
425 B
425 B
git revert
Crea nuevos commits que revierten el efecton de los anteriores. Más información: https://git-scm.com/docs/git-revert.
- Revierte el commit más reciente:
git revert {{HEAD}}
- Revierte el quinto último commit:
git revert HEAD~{{4}}
- Revierte múltiples commits:
git revert {{rama~5..rama~2}}
- No crea nuevos commits, solo cambia el árbol de trabajo:
git revert -n {{0c01a9..9a1743}}