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

martes, marzo 27, 2012

Trasladar todas las Ramas de un Repositorio Git a otro

#!/bin/bash
for remote in `git branch -r `; do git checkout --track $remote; done

#!/bin/bash
git remote add new-origin git@my_gitosis_server.com:my_new_repos.git

#!/bin/bash
git push --all new_remote