Geeks With Blogs
Greg Malcolm Everything but the Perl March 2012 Entries
Mirror git and mercurial repos the lazy way
I maintain Python Koans on mirrored on both Github using git and Bitbucket using mercurial. I get pull requests from both repos but it turns out keeping the two repos in sync is pretty easy. Here is how it's done... Assuming I’m starting again on a clean laptop, first I clone both repos ~/git $ hg clone ~/git $ git clone python_koans2 The only thing that makes a folder a git or mercurial repository is the .hg ......

Posted On Saturday, March 17, 2012 3:41 PM

Copyright © Greg Malcolm | Powered by: