31,003
edits
| Line 234: | Line 234: | ||
Pour générer le fichier patch, il suffit alors de lancer la commande '''diff''' (en standard sous Linux, fourni dans [http://www.cygwin.org/cygwin cygwin] sous Windows) de la manière suivante: | Pour générer le fichier patch, il suffit alors de lancer la commande '''diff''' (en standard sous Linux, fourni dans [http://www.cygwin.org/cygwin cygwin] sous Windows) de la manière suivante: | ||
<source lang="bash"> | <source lang="bash"> | ||
diff - | diff -BNaur --exclude=CVS --exclude="*.patch" --exclude=".#*" --exclude="*~" --exclude="*.rej" | ||
--exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents | --exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents | ||
ancien_rep nouveau_rep > mypatch.patch | ancien_rep nouveau_rep > mypatch.patch | ||