1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages.fr/common/git-reflog.md
2021-05-01 12:49:31 -04:00

16 lines
356 B
Markdown

# git reflog
> Affiche un log des changements locaux comme HEAD, tags et branches.
> Plus d'informations : <https://git-scm.com/docs/git-reflog>.
- Afficher le reflog de HEAD :
`git reflog`
- Affiche le reflog d'une branche spécifique :
`git reflog {{nom_de_branche}}`
- Affiche les 5 dernières entrées dans le reflog :
`git reflog -n {{5}}`