Last active
June 9, 2016 02:54
-
-
Save Bernix01/244bdf55a1b043530617863823186989 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Bernix01/leccion-git-anticorrupcion.git | |
cd leccion-git-anticorrupcion | |
git branch desarrollo | |
git branch produccion | |
touch index.htm | |
nano index.htm #Edita y guarda | |
git add index.htm | |
git commit -m "primer commit" | |
#En el escritorio de María... | |
git clone https://github.com/Bernix01/leccion-git-anticorrupcion.git | |
cd leccion-git-anticorrupcion | |
git checkout desarrollo | |
touch qsomos.htm | |
nano qsomos.htm #Edita y guarda | |
git add qsomos.htm | |
git commit -m "segundo commit" | |
#En el escritorio de Jorge, como estaba en master... | |
git checkout desarrollo | |
touch acerca.htm | |
nano acerca.htm #Edita y guarda | |
git add acerca.htm | |
git commit -m "tercer commit" | |
git checkout master | |
git merge desarrollo | |
git checkout produccion | |
git merge master | |
git push origin produccion | |
#En el escritorio de María... | |
git checkout produccion | |
touch contactenos.htm | |
nano contactenos.htm #Edita y guarda | |
git add contactenos.htm | |
git commit -m "cuarto commit" | |
git push origin produccion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment