Files
tldr/pages.fr/common/git-reflog.md
2021-05-01 12:49:31 -04:00

17 lines
356 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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}}`