Skip to content

Git diff

Sébastien LUCAS edited this page Jul 25, 2013 · 2 revisions

Retrouver la version d'un fichier tel qu'il était à un commit donné

git checkout 9a8ea28cb27d60b9fa89c1ad0fc4cd2b9423368e rue89-page-header-autopromo.tpl.php
  • How to get the diff only of a file or directory but not of all the git tree
git diff responsive sass

The first argument is the branch or revision, the second the path so I want to compare only in sass folder, between current branch and "responsive" branch

WIKI by Sébastien Lucas CEO & Funder or Bricks

Clone this wiki locally