log
git log --oneline --graph --all
git log -n 5 --stat
git log --since="2 weeks" --author="Léa" -- style.css
git log -S "motDePasse" # commits ajoutant/retirant ce texte
diff et show
git diff # non indexé
git diff --staged # prêt à commiter
git diff main..page-contact
git show 8b4d2e0
blame
git blame -L 10,14 index.htmlVS Code : extension GitLens, vue Chronologie. Annuler : restore, revert, reset.