1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages.fr/common/git-reflog.md

16 lines
352 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}}`