git - introducción
TRANSCRIPT
![Page 1: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/1.jpg)
Git - IntroducciónGermán Küber.Net Tech LeadMicrosoft Student Partner (MSP)
@germankuberhttps://aka.ms/NetBaireshttp://germankuber.com.ar
![Page 2: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/2.jpg)
Línea de comandos
![Page 3: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/3.jpg)
Línea de comandos
![Page 4: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/4.jpg)
OPS
• Clink : http://germankuber.com.ar/clink
• Bash: http://germankuber.com.ar/git-bash
Línea de comandos
![Page 5: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/5.jpg)
Sistemas de control de versiones locales
![Page 6: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/6.jpg)
Sistemas de control de versiones centralizados
![Page 7: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/7.jpg)
Sistemas de control de versiones distribuidos
![Page 8: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/8.jpg)
Diferencias
![Page 9: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/9.jpg)
Instantáneas
![Page 10: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/10.jpg)
Instantáneas
OPS
DiferenciasInstantáneas, no diferencias
![Page 11: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/11.jpg)
Los tres estados
![Page 12: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/12.jpg)
Estados
![Page 13: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/13.jpg)
> Repositorio Local
![Page 14: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/14.jpg)
Branch
![Page 15: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/15.jpg)
Branch
![Page 16: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/16.jpg)
Branch
![Page 17: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/17.jpg)
Branch
![Page 18: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/18.jpg)
Branch
$ git branch testing
![Page 19: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/19.jpg)
Branch
$ git checkout testing
![Page 20: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/20.jpg)
Branch
$ vim test.rb$ git commit -a -m 'made a change'
![Page 21: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/21.jpg)
$ git checkout master
![Page 22: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/22.jpg)
Branch
$ vim test.rb$ git commit -a -m 'made other changes'
![Page 23: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/23.jpg)
Ramificaciones
![Page 24: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/24.jpg)
Ramificaciones
$ git branch iss53$ git checkout iss53
![Page 25: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/25.jpg)
Ramificaciones
$ vim index.html$ git commit -a -m 'added a new footer [issue 53]'
![Page 26: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/26.jpg)
Ramificaciones
$ git checkout -b 'hotfix'$ vim index.html$ git commit -a -m 'fixed the broken email address'
![Page 27: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/27.jpg)
> Banch
![Page 28: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/28.jpg)
Merge - "Fast forward"
$ git checkout master$ git merge hotfix
![Page 29: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/29.jpg)
Ramificaciones
$ git checkout iss53$ vim index.html$ git commit -a -m 'finished the new footer [issue 53]'
![Page 30: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/30.jpg)
Merge – En tres bandas
$ git checkout master$ git merge iss53
![Page 31: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/31.jpg)
Merge
![Page 32: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/32.jpg)
Merge Básico
![Page 33: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/33.jpg)
Merge Básico
![Page 34: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/34.jpg)
Rebase
$ git checkout experiment$ git rebase master
![Page 35: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/35.jpg)
> Merge> Rebase
![Page 36: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/36.jpg)
Branch Remotos
![Page 37: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/37.jpg)
Branch Remotos
![Page 38: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/38.jpg)
Branch Remotos
![Page 39: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/39.jpg)
Servidores Remotos Multiples
![Page 40: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/40.jpg)
Fetch Remotos Multiples
![Page 41: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/41.jpg)
> Repositorio Remoto> Branch’s remotos
![Page 42: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/42.jpg)
Flujos de trabajo ramificados
![Page 43: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/43.jpg)
Ramas de largo recorrido
![Page 44: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/44.jpg)
Ramas de largo recorrido
![Page 45: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/45.jpg)
Ramas puntuales
![Page 46: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/46.jpg)
Ramas puntuales
![Page 47: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/47.jpg)
Es tan fácil.¿Por que no lo usaría?
OPS
![Page 48: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/48.jpg)
Materialhttps://git-scm.com/book/es/v1/Empezando
https://try.github.io
http://germankuber.com.ar/git-introduccion
![Page 49: Git - Introducción](https://reader034.vdocuments.co/reader034/viewer/2022052418/58a300611a28abea508b4b3b/html5/thumbnails/49.jpg)
¿Preguntas?