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

21 lines
454 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 show-ref
> Commande Git pour lister les références.
> Plus d'informations : <https://git-scm.com/docs/git-show-ref>.
- Affiche toutes les références dans le dépôt :
`git show-ref`
- Affiche seulement les références des têtes de branches :
`git show-ref --heads`
- Affiche seulement les références de tags :
`git show-ref --tags`
- Vérifier l'existence d'une référence :
`git show-ref --verify {{chemin/vers/reference}}`