get:comparing_commits
Rappel
git diff : différences entre le working directory et le staging index.
git diff –staged : différences entre le staging index et le repository
(identique à git diff –cached)
Comparer des commits.
git diff <SHA> : différences entre le commit et le working directory
git diff <SHA> <file> : différences concernant le fichier <file> entre le commit et le working directory
git diff <SHA-x>..<SHA-y> : différences entres deux commits
git diff –stat –summary– : donne différentes informations de comparaison
git diff –b : ignorer les changements d'espaces = git diff –ignore-space-change
git diff –w : ignorer tous les changements d'espace = git diff –ignore-all-space
get/comparing_commits.txt · Last modified: 2015/11/07 00:43 by leo