Files
tldr/pages.fr/common/git-am.md
2021-05-01 12:49:31 -04:00

18 lines
550 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# git am
> Appliquer des fichiers de "patch" Git. Utile lorsque l'on reçoit des commits par email.
> Voir aussi `git format-patch`, pour générer des fichiers de patch.
> Plus d'informations : <https://git-scm.com/docs/git-am>.
- Appliquer un fichier de patch :
`git am {{chemin/vers/fichier.patch}}`
- Annuler l'application d'un fichier de patch :
`git am --abort`
- Appliquer autant de fichiers de correctif que possible, en enregistrant les morceaux échoués pour rejeter le fichier :
`git am --reject {{chemin/vers/fichier.patch}}`