Activity Team/How to migrate from Gitorious

From Sugar Labs
< Activity Team
Revision as of 16:48, 2 December 2014 by Ignacio Rodríguez (talk | contribs) (Ignacio Rodríguez moved page Activity Team/How to migrate from Sugar Labs to Activity Team/How to migrate from Gitorious)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Migrate the code

  • If you are not the author of the activity, query the author to let them know about the move.
  • Create an account on http://github.com and log in. Add your public SSH key to your account.
  • Create a new project (http://github.com, Your repositories, New repository).
  • Clone your activity from github.com.
git clone git://github.com/username/pippy.git
  • If you want to migrate a non-master branch...
git remote show origin
git checkout -b sucrose-0.82 origin/sucrose-0.82
  • Push to git.sugarlabs.org with something like:
git push git@github.com:username/pippy.git --mirror
  • Clone the project from the new repository in order to be able to push your changes. You'll need to do a git clone into an empty directory, using the same URL you used with your previous push:
git clone git@github.com:username/pippy.git

If you're getting a message saying fatal: The remote end hung up unexpectedly that probably means that this URL is incorrect.