[Owncloud] migration of branches to github

Frank Karlitschek frank at owncloud.com
Mon Aug 27 09:15:15 UTC 2012


Hi,

in case someone wants to migrate a branch from gitorious to github.
Here is a short howto:



Checkout the old repo from gitorious. For example:
git clone git://gitorious.org/owncloud/owncloud.git


Go into the directory
cd owncloud


Switch to the branch that you want to migrate to github. For example:
git checkout -b files_encryption  origin/files_encryption


Add github as new remote. For example:
git remote add github  https://github.com/owncloud/core.git


Push the branch to github. For example:
git push github files_encryption




Cheers
Frank




-- 
Frank Karlitschek (frank at owncloud.com)
Chief Technology Officer
ownCloud Inc.

Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)




More information about the Owncloud mailing list