mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
410 B
410 B
git rev-parse
Afficher les métadonnées liées à des révisions spécifiques. Plus d'informations : https://git-scm.com/docs/git-rev-parse.
- Afficher le hash de commit de la branche courrante :
git rev-parse {{nom_de_branche}}
- Affiche le nom de la branche courrante :
git rev-parse --abbrev-ref {{HEAD}}
- Obtenir le chamin absolu du repertoire racine :
git rev-parse --show-toplevel