Mostrando las entradas con la etiqueta Git. Mostrar todas las entradas
Mostrando las entradas con la etiqueta Git. Mostrar todas las entradas

jueves, 18 de mayo de 2017

git clone all branches

git clone all branches

You can fetch one branch from all remotes like this:

git fetch --all
fetch updates local copies of remote branches so this is always safe for your local branches BUT:

fetch will not update local branches (which track remote branches); If you want to update your local branches you still need to pull every branch.
fetch will not create local branches (which track remote branches), you have to do this manually. If you want to list all remote branches: git branch -a
To update local branches which track remote branches:

git pull --all
However, this can be still insufficient. It will work only for your local branches which track remote branches. To track all remote branches execute this oneliner BEFORE git pull --all:

git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done

sábado, 8 de noviembre de 2014

Utilidades de para GIT

Utilidades de para GIT 



Manual Oficial http://git-scm.com/book/es/v1


Progit. El libro oficial de Git, desarrollado por Scott Chacon, Chief Information Officer de GitHub. Actualizado con licencia libre para distribuir y mejorar.

Git Cheat Sheet en PDF. Documento oficial de Git, desarrollado por GitHub, para entender más rápido los comandos principales.

Git Internals. Otro libro descargable Open-Source de Scott Chacon. En esta entrega hace una síntesis de GIT y profundiza en sus fundamentos.

Conversational Git. Libro ligero sobre los principales comandos de GIT, por Alan Hohn. 


Fuentes Recomendadas


Git. Sitio oficial del proyecto.

Git Immersion. Un sitio con versión "Tour" que te permite adentrarte en los fundamentos de Git.

GitHub Training & Guides. Canal de Youtube liderado por el equipo de GitHub. Ejercicios y tutoriales que te permiten practicar.

GitHub Cheat Sheet. Un repositorio que contiene consejos y trucos para aprovechar GitHub al máximo.

Git Atlassian. Uno de los tutoriales más interesantes que he leído, escritos por la empresa australiana Atlassian. Recomendado para fortalecer conceptos.