Activity Team/How to migrate from OLPC: Difference between revisions

Jdsimmons (talk | contribs)
Jdsimmons (talk | contribs)
Line 13: Line 13:
  git push gitorious@git.sugarlabs.org:sugar/mainline.git --mirror
  git push gitorious@git.sugarlabs.org:sugar/mainline.git --mirror


* To be able to push your changes to the new repository in the future you'll need to do a git clone on the new location into an empty directory, then change the remote origin url in .git/config within the "mainline" directory in that new directory to the new URL you used with your previous push:
* To be able to push your changes to the new repository in the future you'll need to do a git clone on the new location into an empty directory, then change the remote origin url in '''.git/config''' within the '''mainline''' directory in that new directory to the new URL you used with your previous push:


  [remote "origin"]
  [remote "origin"]
Line 19: Line 19:
       fetch = +refs/heads/*:refs/remotes/origin/*
       fetch = +refs/heads/*:refs/remotes/origin/*


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


* '''Add''' the pootle user as a committer (from the "add committer" link on the mainline page) and send mail to [[User:SayaminduDasgupta|Sayamindu]] to point pootle to new remote.
* '''Add''' the pootle user as a committer (from the "add committer" link on the mainline page) and send mail to [[User:SayaminduDasgupta|Sayamindu]] to point pootle to new remote.