From 4773250f46d04568dcd12467f98fa5a31dae840a Mon Sep 17 00:00:00 2001 From: "jp.dev" Date: Fri, 27 Nov 2020 02:08:56 -0300 Subject: [PATCH] -tags --- Workflows-y-acciones-colaborativas.md | 41 --------------------------- 1 file changed, 41 deletions(-) diff --git a/Workflows-y-acciones-colaborativas.md b/Workflows-y-acciones-colaborativas.md index 6659fb8..bc864bd 100644 --- a/Workflows-y-acciones-colaborativas.md +++ b/Workflows-y-acciones-colaborativas.md @@ -109,47 +109,6 @@ git push origin master ![merge](https://gitea.kickto.net/jp.av.dev/basicos_git/raw/branch/master/assets/images/merge_pull_request.png) - -## Tags ------ - -**Lightweight Tag** -Es un simple puntero a un commit, no guarda mas info. - - ` git tag v0.2 ` - - -**Annotated Tags** -Etiqueta que apunta a un commit, y sus archivos en ese momento. -Contiene informacion adicional y mas completa, uso recomendado. -``` -# Crear Annotated Tag -git tag -a 26-11-20v0.1 -m "Version 0.1" - -# Publicar tags -git push --tags -git push origin --tags - -# Listar Tags -git tag - -# Ver Tag -git show 26-11-20v0.1 - -# Tag a commit anterior (cheksum del commit, o parte de este) -git tag -a 19-10-20v0.0.5 0a478hsfb - -# Borrar Tag Locales -git tag -d 19-10-20v0.0.5 - -# Borrar Tag Remoto -git push :refs/tags/19-10-20v0.0.5 -git push origin :refs/tags/19-10-20v0.0.5 - -# Checkout Tags (deatached HEAD state) -git checkout 19-10-20v0.05 -``` -[*doc*](https://git-scm.com/book/en/v2/Git-Basics-Tagging) - ----- **Ir a:**