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
#!/bin/bash | |
src_git="$1" | |
dst_git="$2" | |
git clone --mirror ${src_git} migrate | |
cd migrate | |
git remote add dst ${dst_git} | |
git push --mirror dst | |
cd .. |
NewerOlder