1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages.es/common/git-format-patch.md
Ulices 60d3432028
pages*: replace "Véase" with "Vea" on some Spanish pages (#12703)
- Also other few changes were made to enhance the translation.
- Add missing commands
- Fix comands that were changed
2024-05-02 10:09:56 +05:30

17 lines
613 B
Markdown

# git format-patch
> Prepara archivos .patch. Es útil cuando se envían commits por correo electrónico.
> Vea también `git-am`, comando que puede aplicar los archivos .patch generados.
> Más información: <https://git-scm.com/docs/git-format-patch>.
- Crea un archivo `.patch` con nombre automático para todos los cambios que no están en el push:
`git format-patch {{origen}}`
- Escribe un archivo `.patch` para todos los commits entre dos revisiones a `stdout`:
`git format-patch {{revisión_1}}..{{revisión_2}}`
- Escribe un archivo `.patch` para los 3 últimos commits:
`git format-patch -{{3}}`