From fc7198699889c706d003d3b2f696be0d7aa683a8 Mon Sep 17 00:00:00 2001 From: "David E. Perez Negron R" Date: Wed, 15 Feb 2023 23:08:01 -0600 Subject: [PATCH 1/7] Specify when a Document is in Spanish as _ES following uppercase ISO 639-1 codes --- gitflowCheetSheet.md => gitflowCheetSheet_ES.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename gitflowCheetSheet.md => gitflowCheetSheet_ES.md (100%) diff --git a/gitflowCheetSheet.md b/gitflowCheetSheet_ES.md similarity index 100% rename from gitflowCheetSheet.md rename to gitflowCheetSheet_ES.md From 7818d71f53003340110f8b859a3b7cc111870b5c Mon Sep 17 00:00:00 2001 From: "David E. Perez Negron R" Date: Mon, 20 Feb 2023 10:52:11 -0600 Subject: [PATCH 2/7] fix typos and others --- gitflowCheetSheet_ES.md | 105 +++++++++++++++++++++------------------- 1 file changed, 56 insertions(+), 49 deletions(-) diff --git a/gitflowCheetSheet_ES.md b/gitflowCheetSheet_ES.md index ef36c37..fc2fc58 100644 --- a/gitflowCheetSheet_ES.md +++ b/gitflowCheetSheet_ES.md @@ -1,4 +1,4 @@ -# CURSO DE GIT Y GITFLOW +# CHEETSHEET DE GIT Y GITFLOW @@ -11,23 +11,23 @@ ```shell -$ git init: Crear un nuevo git +$ git init # Crear un nuevo git -$ git add: Agregar archivos al area de preparacion +$ git add # Agregar archivos al area de preparacion -$ git status: Estado del repositorio +$ git status # Estado del repositorio -$ git: commit -m pasar archivos del area de preparacion al repositorio local +$ git # commit -m pasar archivos del area de preparacion al repositorio local -$ git log: ver las versiones de archivos del repositorio +$ git log # ver las versiones de archivos del repositorio -$ git clone: clonar un repositorio remoto +$ git clone # clonar un repositorio remoto -$ git push: modificar el repositorio remoto, con su nueva actualizacion +$ git push # modificar el repositorio remoto, con su nueva actualizacion -$ git pull: actualizar tu repositorio local con la ultima version del remoto +$ git pull # actualizar tu repositorio local con la ultima version del remoto -$ git add . sirve para agregar todos los archivos modificados al area de preparacion +$ git add . # sirve para agregar todos los archivos modificados al area de preparacion ``` @@ -77,22 +77,23 @@ $ git flow init **1. COMENZAR UNA CARACTERISTICA (FEATURE)** ``` -git flow feature start MYFEATURE +$ git flow feature start MYFEATURE ``` +> Cambiar `MYFEATURE` por el nombre que le quieras dar a tu característica. --- **2. FINALIZAR UNA CARACTERISTICA** ``` -git flow feature finish MYFEACTURE Finaliza el desarrollo de una cacteristica. +$ git flow feature finish MYFEATURE # Finaliza el desarrollo de una cacteristica. -OBTENIENDO CARACTERISTICAS PUBLICADAS +$OBTENIENDO CARACTERISTICAS PUBLICADAS -git flow feature pull origin MYFEATURE Obten una caracteristica publicada por otro. +$ git flow feature pull origin MYFEATURE # Obten una caracteristica publicada por otro. -git flow feature track MYFEACTURE Puedes mantener un seguimiento de tus cambios. +$ git flow feature track MYFEACTURE # Puedes mantener un seguimiento de tus cambios. ``` @@ -103,14 +104,21 @@ git flow feature track MYFEACTURE Puedes mantener un seguimiento de tus cambios. **COMO PUBLICAR UNA VERSION** ``` - -git flow release start 1.0 - -git flow release publish 1.0 - -git flow release finish 1.0 - -git push oirigin --all --follow-tags +$ git checkout master + +$ git pull + +$ git checkout develop + +$ git pull + +$ git flow release start 1.0 + +$ git flow release publish 1.0 + +$ git flow release finish 1.0 + +$ git push origin --all --follow-tags ``` @@ -123,32 +131,31 @@ git push oirigin --all --follow-tags ``` -git checkout develop - -git pull - -git checkout master - -git pull - -git flow hotfix star (Nombre) - -Hacer cambios - -git status (verifique el archivo de color rojo) - -git add . (agregar archivos) - -git commit -m 'Escribe un comentario' - -git flow hotfix finish (name) - -Recuerda poner una etiqueta de versión fija 1.2.x por ejemplo 1.2.2 -estabas en el maestro, y luego debes estar en la rama de desarrollo - - -git push origin --all --follow-tags - +$ git checkout develop + +$ git pull + +$ git checkout master + +$ git pull + +$ git flow hotfix star (Nombre) + +# Hacer cambios + +$ git status # verifique el archivo de color rojo + +$ git add . # agregar archivos + +$ git commit -m 'Escribe un comentario' + +$ git flow hotfix finish (name) + +# Recuerda poner una etiqueta de versión fija 1.2.x por ejemplo 1.2.2 +# estabas en el maestro, y luego debes estar en la rama de desarrollo + +$ git push origin --all --follow-tags + ``` ## LICENSE From 8df941e9ba2cef4d97e12135b600eaa43641050c Mon Sep 17 00:00:00 2001 From: HackMD <37423+hackmd-hub[bot]@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:58:14 +0000 Subject: [PATCH 3/7] write git pull correctly... From a82cf4d3d8170ef8e1dae1cb3dcac53ff0d2c239 Mon Sep 17 00:00:00 2001 From: HackMD <37423+hackmd-hub[bot]@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:15:08 +0000 Subject: [PATCH 4/7] last changed at Feb 20, 2023 11:09 AM, pushed by PaganoBerserker --- gitflowCheetSheet.md | 181 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 gitflowCheetSheet.md diff --git a/gitflowCheetSheet.md b/gitflowCheetSheet.md new file mode 100644 index 0000000..5aad55f --- /dev/null +++ b/gitflowCheetSheet.md @@ -0,0 +1,181 @@ +# CURSO DE GIT Y GITFLOW + + + +## GIT + +--- + +### Comandos de Git basicos o frecuentes + + +```shell + +$ git init: Crear un nuevo git + +$ git add: Agregar archivos al area de preparacion + +$ git status: Estado del repositorio + +$ git: commit -m pasar archivos del area de preparacion al repositorio local + +$ git log: ver las versiones de archivos del repositorio + +$ git clone: clonar un repositorio remoto + +$ git push: modificar el repositorio remoto, con su nueva actualizacion + +$ git pull: actualizar tu repositorio local con la ultima version del remoto + +$ git add . sirve para agregar todos los archivos modificados al area de preparacion + +``` + +--- + +## GIT FLOW +--- + +### Instalar en linux debian +Para instalar git flow, se requiere tener previamente git, y se executan los siguientes comandos en tu terminal ya sea con sudo o como root. + +``` + +$ sudo apt-get update + +$ sudo apt-get install git-flow + +``` + + + +### INICIALIZAR +Una vez que estas dentro de tu directorio git o repositorio clonado, inicializa el git flow: +``` + +$ git flow init + +``` + +### RAMAS DE GIT FLOW + +![](https://www.campingcoder.com/post/20180412-git-flow.png) + +--- + +* **Master**: Rama principal que mantiene la version estable de un software. +* **Develop**: Rama que se utiliza por uno o varios programadores para un software en modo pruebas. +* **Feature**: Rama temporal o local, que sirve para que cada programador desarrolle alguna funcion especifica (Libreria, funcion, clase, etc.). +* **Release**: Rama temporal solo para publicar las etiquetas de versiones y sincronizar develop con master, esto se hace cuando tenemos una version estable de software o un punto para entregable. +* **Hotfix**: Rama temporal que se utiliza para arreglar errores criticos o bugs en el codigo de produccion, generalmente se utiliza en modo de emergencia. + + +#### FEATURES + + +--- + + +**1. COMENZAR UNA CARACTERISTICA (FEATURE)** + +``` +git flow feature start MYFEATURE + +``` +--- + +**2. FINALIZAR UNA CARACTERISTICA** + +``` + +git flow feature finish MYFEACTURE Finaliza el desarrollo de una cacteristica. + +OBTENIENDO CARACTERISTICAS PUBLICADAS + +git flow feature pull origin MYFEATURE Obten una caracteristica publicada por otro. + +git flow feature track MYFEACTURE Puedes mantener un seguimiento de tus cambios. + + +``` + +#### RELEASE +--- + +**COMO PUBLICAR UNA VERSION** + + +``` + + +git flow release start 1.0 + +git flow release publish 1.0 + +git flow release finish 1.0 + +git push oirigin --all --follow-tags + + +``` + +--- + +#### HOTFIX + +--- + +**COMO PUBLICAR HACER UN HOTFIX** + +``` + +git checkout develop + +git pull + +git checkout master + +git pull + +git flow hotfix star (Nombre) + +Hacer cambios + +git status (verifique el archivo de color rojo) + +git add . (agregar archivos) + +git commit -m 'Escribe un comentario' + +git flow hotfix finish (name) + +Recuerda poner una etiqueta de versión fija 1.2.x por ejemplo 1.2.2 +estabas en el maestro, y luego debes estar en la rama de desarrollo + + +git push origin --all --follow-tags + +``` + +## LICENSE + +``` +Copyright (C) 2023 DECENTRALIZED CLIMATE FOUNDATION A.C. +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 +or any later version published by the Free Software Foundation; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled "GNU +Free Documentation License". +``` + +## CONTACTO Y DESARROLLADORES + +> Work developed in collaboration with the [Decentralized Climate Foundation](https://decentralizedclimate.org). + +- [Gustavo Bermudez] (nizaries44@gmail.com) + +## REFERENCIAS +\[1\] Daniel Kummer, "Git-flow cheatsheet", https://danielkummer.github.io/git-flow-cheatsheet/, 2023. + +\[2\] www.campingcoder.com, "How to use git flow", https://www.campingcoder.com/2018/04/how-to-use-git-flow/, 2023. From acbdd0e6a57c35f1bb1f02405228fc090a370219 Mon Sep 17 00:00:00 2001 From: PaganoBerserker <47154857+PaganoBerserker@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:44:20 -0600 Subject: [PATCH 5/7] Delete gitflowCheetSheet.md --- gitflowCheetSheet.md | 181 ------------------------------------------- 1 file changed, 181 deletions(-) delete mode 100644 gitflowCheetSheet.md diff --git a/gitflowCheetSheet.md b/gitflowCheetSheet.md deleted file mode 100644 index 5aad55f..0000000 --- a/gitflowCheetSheet.md +++ /dev/null @@ -1,181 +0,0 @@ -# CURSO DE GIT Y GITFLOW - - - -## GIT - ---- - -### Comandos de Git basicos o frecuentes - - -```shell - -$ git init: Crear un nuevo git - -$ git add: Agregar archivos al area de preparacion - -$ git status: Estado del repositorio - -$ git: commit -m pasar archivos del area de preparacion al repositorio local - -$ git log: ver las versiones de archivos del repositorio - -$ git clone: clonar un repositorio remoto - -$ git push: modificar el repositorio remoto, con su nueva actualizacion - -$ git pull: actualizar tu repositorio local con la ultima version del remoto - -$ git add . sirve para agregar todos los archivos modificados al area de preparacion - -``` - ---- - -## GIT FLOW ---- - -### Instalar en linux debian -Para instalar git flow, se requiere tener previamente git, y se executan los siguientes comandos en tu terminal ya sea con sudo o como root. - -``` - -$ sudo apt-get update - -$ sudo apt-get install git-flow - -``` - - - -### INICIALIZAR -Una vez que estas dentro de tu directorio git o repositorio clonado, inicializa el git flow: -``` - -$ git flow init - -``` - -### RAMAS DE GIT FLOW - -![](https://www.campingcoder.com/post/20180412-git-flow.png) - ---- - -* **Master**: Rama principal que mantiene la version estable de un software. -* **Develop**: Rama que se utiliza por uno o varios programadores para un software en modo pruebas. -* **Feature**: Rama temporal o local, que sirve para que cada programador desarrolle alguna funcion especifica (Libreria, funcion, clase, etc.). -* **Release**: Rama temporal solo para publicar las etiquetas de versiones y sincronizar develop con master, esto se hace cuando tenemos una version estable de software o un punto para entregable. -* **Hotfix**: Rama temporal que se utiliza para arreglar errores criticos o bugs en el codigo de produccion, generalmente se utiliza en modo de emergencia. - - -#### FEATURES - - ---- - - -**1. COMENZAR UNA CARACTERISTICA (FEATURE)** - -``` -git flow feature start MYFEATURE - -``` ---- - -**2. FINALIZAR UNA CARACTERISTICA** - -``` - -git flow feature finish MYFEACTURE Finaliza el desarrollo de una cacteristica. - -OBTENIENDO CARACTERISTICAS PUBLICADAS - -git flow feature pull origin MYFEATURE Obten una caracteristica publicada por otro. - -git flow feature track MYFEACTURE Puedes mantener un seguimiento de tus cambios. - - -``` - -#### RELEASE ---- - -**COMO PUBLICAR UNA VERSION** - - -``` - - -git flow release start 1.0 - -git flow release publish 1.0 - -git flow release finish 1.0 - -git push oirigin --all --follow-tags - - -``` - ---- - -#### HOTFIX - ---- - -**COMO PUBLICAR HACER UN HOTFIX** - -``` - -git checkout develop - -git pull - -git checkout master - -git pull - -git flow hotfix star (Nombre) - -Hacer cambios - -git status (verifique el archivo de color rojo) - -git add . (agregar archivos) - -git commit -m 'Escribe un comentario' - -git flow hotfix finish (name) - -Recuerda poner una etiqueta de versión fija 1.2.x por ejemplo 1.2.2 -estabas en el maestro, y luego debes estar en la rama de desarrollo - - -git push origin --all --follow-tags - -``` - -## LICENSE - -``` -Copyright (C) 2023 DECENTRALIZED CLIMATE FOUNDATION A.C. -Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.3 -or any later version published by the Free Software Foundation; -with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -A copy of the license is included in the section entitled "GNU -Free Documentation License". -``` - -## CONTACTO Y DESARROLLADORES - -> Work developed in collaboration with the [Decentralized Climate Foundation](https://decentralizedclimate.org). - -- [Gustavo Bermudez] (nizaries44@gmail.com) - -## REFERENCIAS -\[1\] Daniel Kummer, "Git-flow cheatsheet", https://danielkummer.github.io/git-flow-cheatsheet/, 2023. - -\[2\] www.campingcoder.com, "How to use git flow", https://www.campingcoder.com/2018/04/how-to-use-git-flow/, 2023. From 1b95e427480e44a2414d1e692a8d17696531c24b Mon Sep 17 00:00:00 2001 From: "David E. Perez Negron R" Date: Mon, 20 Feb 2023 11:04:55 -0600 Subject: [PATCH 6/7] Starting the English template --- gitflowCheetSheet_EN.md | 181 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 gitflowCheetSheet_EN.md diff --git a/gitflowCheetSheet_EN.md b/gitflowCheetSheet_EN.md new file mode 100644 index 0000000..fc2fc58 --- /dev/null +++ b/gitflowCheetSheet_EN.md @@ -0,0 +1,181 @@ +# CHEETSHEET DE GIT Y GITFLOW + + + +## GIT + +--- + +### Comandos de Git basicos o frecuentes + + +```shell + +$ git init # Crear un nuevo git + +$ git add # Agregar archivos al area de preparacion + +$ git status # Estado del repositorio + +$ git # commit -m pasar archivos del area de preparacion al repositorio local + +$ git log # ver las versiones de archivos del repositorio + +$ git clone # clonar un repositorio remoto + +$ git push # modificar el repositorio remoto, con su nueva actualizacion + +$ git pull # actualizar tu repositorio local con la ultima version del remoto + +$ git add . # sirve para agregar todos los archivos modificados al area de preparacion + +``` + +--- + +## GIT FLOW +--- + +### Instalar en linux debian +Para instalar git flow, se requiere tener previamente git, y se executan los siguientes comandos en tu terminal ya sea con sudo o como root. + +``` + +$ sudo apt-get update + +$ sudo apt-get install git-flow + +``` + + + +### INICIALIZAR +Una vez que estas dentro de tu directorio git o repositorio clonado, inicializa el git flow: +``` + +$ git flow init + +``` + +### RAMAS DE GIT FLOW + +![](https://www.campingcoder.com/post/20180412-git-flow.png) + +* **Master**: Rama principal que mantiene la version estable de un software. +* **Develop**: Rama que se utiliza por uno o varios programadores para un software en modo pruebas. +* **Feature**: Rama temporal o local, que sirve para que cada programador desarrolle alguna funcion especifica (Libreria, funcion, clase, etc.). +* **Release**: Rama temporal solo para publicar las etiquetas de versiones y sincronizar develop con master, esto se hace cuando tenemos una version estable de software o un punto para entregable. +* **Hotfix**: Rama temporal que se utiliza para arreglar errores criticos o bugs en el codigo de produccion, generalmente se utiliza en modo de emergencia. + + +#### FEATURES + + +--- + + +**1. COMENZAR UNA CARACTERISTICA (FEATURE)** + +``` +$ git flow feature start MYFEATURE + +``` +> Cambiar `MYFEATURE` por el nombre que le quieras dar a tu característica. +--- + +**2. FINALIZAR UNA CARACTERISTICA** + +``` + +$ git flow feature finish MYFEATURE # Finaliza el desarrollo de una cacteristica. + +$OBTENIENDO CARACTERISTICAS PUBLICADAS + +$ git flow feature pull origin MYFEATURE # Obten una caracteristica publicada por otro. + +$ git flow feature track MYFEACTURE # Puedes mantener un seguimiento de tus cambios. + + +``` + +#### RELEASE +--- + +**COMO PUBLICAR UNA VERSION** + +``` +$ git checkout master + +$ git pull + +$ git checkout develop + +$ git pull + +$ git flow release start 1.0 + +$ git flow release publish 1.0 + +$ git flow release finish 1.0 + +$ git push origin --all --follow-tags + +``` + +--- + +#### HOTFIX +--- + +**COMO PUBLICAR HACER UN HOTFIX** + +``` + +$ git checkout develop + +$ git pull + +$ git checkout master + +$ git pull + +$ git flow hotfix star (Nombre) + +# Hacer cambios + +$ git status # verifique el archivo de color rojo + +$ git add . # agregar archivos + +$ git commit -m 'Escribe un comentario' + +$ git flow hotfix finish (name) + +# Recuerda poner una etiqueta de versión fija 1.2.x por ejemplo 1.2.2 +# estabas en el maestro, y luego debes estar en la rama de desarrollo + +$ git push origin --all --follow-tags + +``` + +## LICENSE + +``` +Copyright (C) 2023 DECENTRALIZED CLIMATE FOUNDATION A.C. +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 +or any later version published by the Free Software Foundation; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled "GNU +Free Documentation License". +``` + +## CONTACTO Y DESARROLLADORES +> Work developed in collaboration with the [Decentralized Climate Foundation](https://decentralizedclimate.org). + +- [Gustavo Bermudez](nizaries44@gmail.com) + +## REFERENCIAS +\[1\] Daniel Kummer, "Git-flow cheatsheet", https://client.aragon.org/#/decentralizedclimate/, 2023. + +\[2\] www.campingcoder.com, "How to use git flow", https://www.campingcoder.com/2018/04/how-to-use-git-flow/, 2023. From 32e60b1af5b1ec8ba19e6f02c793d558a538f196 Mon Sep 17 00:00:00 2001 From: PaganoBerserker <47154857+PaganoBerserker@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:56:10 -0600 Subject: [PATCH 7/7] Update gitflowCheetSheet_ES.md --- gitflowCheetSheet_ES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitflowCheetSheet_ES.md b/gitflowCheetSheet_ES.md index fc2fc58..8e50f8d 100644 --- a/gitflowCheetSheet_ES.md +++ b/gitflowCheetSheet_ES.md @@ -176,6 +176,6 @@ Free Documentation License". - [Gustavo Bermudez](nizaries44@gmail.com) ## REFERENCIAS -\[1\] Daniel Kummer, "Git-flow cheatsheet", https://client.aragon.org/#/decentralizedclimate/, 2023. +\[1\] Daniel Kummer, "Git-flow cheatsheet", https://danielkummer.github.io/git-flow-cheatsheet/index.html), 2023. \[2\] www.campingcoder.com, "How to use git flow", https://www.campingcoder.com/2018/04/how-to-use-git-flow/, 2023.