Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 521 Bytes

git_log.md

File metadata and controls

24 lines (18 loc) · 521 Bytes
title category
Log
Git
# Classique
git log

# Affiche X derniers commits
git log -n X

# Affiche les commits concernant un dossier
git log --oneline -- chemin/vers/mon_dossier

# Affiche un ensemble de commits par date
git log --since=date --until=date

# Représentation de l’historique à partir de HEAD (commit / branch)
git log --oneline --graph --decorate

# Représentation de l’historique à partir d'un fichier (commit / branch)
git log --oneline --graph --decorate nom_du_fichier