mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 17:42:07 +02:00

- Also other few changes were made to enhance the translation. - Add missing commands - Fix comands that were changed
17 lines
613 B
Markdown
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}}`
|