diff --git a/HowtoGit.md b/HowtoGit.md index 2a843444..5fe003a3 100644 --- a/HowtoGit.md +++ b/HowtoGit.md @@ -563,6 +563,22 @@ Pour effectuer les modifications inverses de celles effectuées (et donc revenir $ git revert ~~~ +### git tag + +Ajouter et pousser un tag à l'endroit où l'on est : + +~~~ +$ git tag -a foo -m "version foo" +$ git push origin foo +~~~ + +Lister les tags : + +~~~ +$ git tag +foo +~~~ + ### .git/config