class: middle, orange  --- class: center, orange ## ¿Qué es Git? Git es un software de control de versiones. Desarrollado por Linus Torvalds para el Kernel de Linux. Al menos las mismas funcionalidades de SVN que ya conocemos. Gestión distribuida, cada ususario tiene un repositorio local. Branches, branches everywhere. --- class: center  --- class: center, orange ## ¿Qué NO es Git? GitHub BitBucket GUI Gestión de Infraestructuras Públicas --- class: center, orange # Git Workflow  --- class: center, orange  --- Iniciando un repo con origen remoto ```bash $ git init ./ *$ git remote add origin https://github.com/try-git/try_git.git $ git pull origin master $ git status ``` Subiendo cambios al remoto ```bash $ git add fichero $ git commit -m "subo nuevo fichero" *$ git push origin master ``` Las ramas ```bash *$ git branch clean_up # Crea nueva rama clean_up $ git checkout clean_up # Se mueve a la rama clean_up $ git add fichero2 $ git commit -m "Nuevo fichero2" $ git checkout master # De vuelta a la master *$ git merge clean_up # Ha juntado las ramas! $ git branch -d clean_up # Como esa rama no hace falta, la borramos. $ git push # Se sube al repo remoto ``` --- class: center, orange ## Ramas  --- class: center, orange  Plataforma con interfaz web para alojar repositorios Git y Mercurial. Repositorios públicos y privados. JIRA, Project management, Issue tracking y Wiki Gratis hasta 5 miembros por proyecto. --- class: center, orange  Plataforma con interfaz web para alojar repositorios Git. Muy bonita, muy cuidada y todo muy hipster. Git con SSH o HTTPS. También Subversion (SVN) o usar git-svn. Repositorios públicos y privados (de pago). Wiki, Task management, Bug tracking y GUI (Mac y Windows). --- class: center, orange   --- class: center, orange # Eclipse  [www.eclipse.org/egit](http://www.eclipse.org/egit/) ``` Help -> Insall new software -> Collaboration (All Available Sites) -> EGit ``` ``` File -> Import -> GIT -> URI ``` --- class: center, orange # Guías y documentación [try.github.io](https://try.github.io) [rogerdudler.github.io/git-guide](http://rogerdudler.github.io/git-guide) [pcottle.github.io/learnGitBranching](http://pcottle.github.io/learnGitBranching/) [www.atlassian.com/es/git](https://www.atlassian.com/es/git) [git-scm.com](http://git-scm.com/) [wiki.eclipse.org/EGit](http://wiki.eclipse.org/EGit/User_Guide) --- class: orange .centrado[ ## Markdown ] ```markdown Markdown ------------- - Lista - Sub [i-Neumaticos](http://www.i-neumaticos.es) **bold** ~~Mistaken text.~~ *italic* 1. Item 1 2. Item 2 3. Item 3 ``` .centrado[ [GitHub markdown](https://guides.github.com/features/mastering-markdown/) ] --- class: orange, center ## Fin ### Realizada con [Remark](https://github.com/gnab/remark) ### Markdown + Css + Html ### Presentación hospedada en [GitHub Gist](https://gist.github.com/yagop/79f330831f0129040376) * .footnote[*Usuario [yagop](https://gist.github.com/yagop)]