note: git diff et vlm

pas encore regardé les plugins vim qui permettent de se balader dans l'historique et tout et tout ... en attendant:

$ git diff 'HEAD^' > patch 
$ cp main.c /tmp/main.c 
$ patch -R main.c patch 
patching file main.c
$ vimdiff /tmp/main.c main.c 
2 fichiers à éditer

Poster un nouveau commentaire

Le contenu de ce champ ne sera pas montré publiquement.
  • You can use BBCode tags in the text.
  • Les lignes et les paragraphes vont à la ligne automatiquement.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

Plus d'informations sur les options de formatage