Created
January 7, 2010 17:02
-
-
Save qmx/271370 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --bare current_repo new_repo.git | |
cd new_repo.git && touch git-daemon-export-ok | |
git-daemon --base-path=.. (parent) --enable=upload-pack --enable=receive-pack | |
##### | |
no cliente: | |
git remote add temporario git://ip_maquina_salvacao/new_repo.git | |
git fetch temporario | |
### zilhões de branchs | |
##### o servidor voltou | |
vai na maquina-salvação | |
cd new_repo.git ; git push git@ip:old_repo.git | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment