mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-21 12:44:02 +08:00
408 B
408 B
git rev-parse
Affiche les métadonnées liées à des révisions spécifiques. Plus d'informations : https://git-scm.com/docs/git-rev-parse.
- Affiche l'empreinte du commit de la branche courante :
git rev-parse {{nom_branche}}
- Affiche le nom de la branche courante :
git rev-parse --abbrev-ref {{HEAD}}
- Obtient le chemin absolu du répertoire racine :
git rev-parse --show-toplevel