Activity Team/Git Tutorial: Difference between revisions
No edit summary |
m adjust heading |
||
| Line 1: | Line 1: | ||
<noinclude>{{GoogleTrans-en}}{{TeamHeader|Activity Team}}{{TOCright}}</noinclude> | <noinclude>{{GoogleTrans-en}}{{TeamHeader|Activity Team}}{{TOCright}}</noinclude> | ||
== Gitorious == | |||
== Create an account == | |||
Getting started with Gitorious. | |||
=== Create an account === | |||
Create an account on git.sugarlabs.org by selecting the register link on the home page. | Create an account on git.sugarlabs.org by selecting the register link on the home page. | ||
| Line 12: | Line 15: | ||
Follow link on email confirmation | Follow link on email confirmation | ||
=== Create SSH Key === | |||
== Create SSH Key == | |||
ToDo | ToDo | ||
==Create a | === Create a Project === | ||
Created a new project by selecting the new link on the project page. | Created a new project by selecting the new link on the project page. | ||
| Line 28: | Line 30: | ||
There several other question which can be answered later as you have more information. | There several other question which can be answered later as you have more information. | ||
== | === Create Local Repository === | ||
There are two way to create a local repository. Initial one from scratch using git commands or pull your new project from Gitorious. | |||
==== Initialize blank repository ==== | |||
==== Pull from Gitorious ==== | |||
One of the easiest way to create a local git repository which it set up to point to your new Gitorious project is to | |||
=== Push project === | |||
git remote add origin gitorious@git.sugarlabs.org:turtleart/mainline.git | git remote add origin gitorious@git.sugarlabs.org:turtleart/mainline.git | ||
# to push the master branch to the origin remote we added above: | # to push the master branch to the origin remote we added above: | ||
| Line 38: | Line 46: | ||
# after that you can just do: | # after that you can just do: | ||
git push | git push | ||
::Morgs pointed out that if you go to http://git.sugarlabs.org/projects/turtleart/repos/mainline it tells you a "push" URL. | |||
:4. I added the pootle user as a committer. | :4. I added the pootle user as a committer. | ||
:5. Where should I put the .xo bundle? And the source tarball? | :5. Where should I put the .xo bundle? And the source tarball? | ||