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

16 lines
351 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 dérniéres entrés dans le reflog :
`git reflog -n {{5}}`