Activity Team/Git Migration: Difference between revisions

Bjordan (talk | contribs)
No edit summary
Bjordan (talk | contribs)
No edit summary
Line 1: Line 1:
== Import a module from dev.laptop.org ==
== Import a module from dev.laptop.org ==


* '''Get''' an account on http://git.sugarlabs.org
* '''Create''' an account on http://git.sugarlabs.org
* '''Log''' in and [http://git.sugarlabs.org/projects/new create a new project] from the projects page (please use '''only lower case''', e.g. sugar, turtleart, sugar-toolkit).
* '''Log in''' and [http://git.sugarlabs.org/projects/new create a new project] from the projects page (please use '''only lower case''', e.g. sugar, turtleart, sugar-toolkit).
* '''Clone''' your git module from dev.laptop.org, e.g.
* '''Clone''' your git module from dev.laptop.org, e.g.
  git-clone git://dev.laptop.org/projects/pippy-activity
  git-clone git://dev.laptop.org/projects/pippy-activity
* '''See''' all the remote branches with:
* '''See''' all the remote branches with:
  git remote show origin
  git remote show origin
* '''Check''' out the remote branches you want to migrate, e.g.
* '''Check out''' the remote branches you want to migrate, e.g.
  git checkout -b sucrose-0.82 origin/sucrose-0.82
  git checkout -b sucrose-0.82 origin/sucrose-0.82
* '''Push''' it to git.sugarlabs.org with something like:
* '''Push''' it to git.sugarlabs.org with something like: