Outils pour utilisateurs

Outils du site


tech:git_-_creer_et_appliquer_un_patch

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:git_-_creer_et_appliquer_un_patch [2026/06/25 10:46] Jean-Baptistetech:git_-_creer_et_appliquer_un_patch [2026/07/06 10:06] (Version actuelle) Jean-Baptiste
Ligne 14: Ligne 14:
 Créer un patch Créer un patch
 ~~~bash ~~~bash
 +#git format-patch -1 <sha1>
 #git format-patch -1 <sha1> --stdout > <name>.patch #git format-patch -1 <sha1> --stdout > <name>.patch
 git format-patch -1 13e260ea2c3220a217626b12bff538916fdd2caf git format-patch -1 13e260ea2c3220a217626b12bff538916fdd2caf
 +
 +# Ou
 +#git format-patch -1 <sha1> -- <file_name>
 +git format-patch -1 13e260ea2c3220a217626b12bff538916fdd2caf -- .gitlab-ci.yml
 ~~~ ~~~
  
tech/git_-_creer_et_appliquer_un_patch.1782377195.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki