Download - Git - Introducción
Git - IntroducciónGermán Küber.Net Tech LeadMicrosoft Student Partner (MSP)
@germankuberhttps://aka.ms/NetBaireshttp://germankuber.com.ar
Línea de comandos
Línea de comandos
OPS
• Clink : http://germankuber.com.ar/clink
• Bash: http://germankuber.com.ar/git-bash
Línea de comandos
Sistemas de control de versiones locales
Sistemas de control de versiones centralizados
Sistemas de control de versiones distribuidos
Diferencias
Instantáneas
Instantáneas
OPS
DiferenciasInstantáneas, no diferencias
Los tres estados
Estados
> Repositorio Local
Branch
Branch
Branch
Branch
Branch
$ git branch testing
Branch
$ git checkout testing
Branch
$ vim test.rb$ git commit -a -m 'made a change'
$ git checkout master
Branch
$ vim test.rb$ git commit -a -m 'made other changes'
Ramificaciones
Ramificaciones
$ git branch iss53$ git checkout iss53
Ramificaciones
$ vim index.html$ git commit -a -m 'added a new footer [issue 53]'
Ramificaciones
$ git checkout -b 'hotfix'$ vim index.html$ git commit -a -m 'fixed the broken email address'
> Banch
Merge - "Fast forward"
$ git checkout master$ git merge hotfix
Ramificaciones
$ git checkout iss53$ vim index.html$ git commit -a -m 'finished the new footer [issue 53]'
Merge – En tres bandas
$ git checkout master$ git merge iss53
Merge
Merge Básico
Merge Básico
Rebase
$ git checkout experiment$ git rebase master
> Merge> Rebase
Branch Remotos
Branch Remotos
Branch Remotos
Servidores Remotos Multiples
Fetch Remotos Multiples
> Repositorio Remoto> Branch’s remotos
Flujos de trabajo ramificados
Ramas de largo recorrido
Ramas de largo recorrido
Ramas puntuales
Ramas puntuales
Es tan fácil.¿Por que no lo usaría?
OPS
Materialhttps://git-scm.com/book/es/v1/Empezando
https://try.github.io
http://germankuber.com.ar/git-introduccion
¿Preguntas?