Activity Team/Git FAQ: Difference between revisions

No edit summary
Line 8: Line 8:


:Please follow the [[Activity Team/How_to_migrate_from_OLPC|instructions here]] to first set up your project's entry in Gitorious.
:Please follow the [[Activity Team/How_to_migrate_from_OLPC|instructions here]] to first set up your project's entry in Gitorious.
=== How do I create a new project? ===
First set up the project in gitorious as per above.
Go to your project directory and type:
git init
You probably want to edit .git/info/exclude
git add *
git commit -a
git remote add origin gitorious@git.sugarlabs.org:xo-colors/mainline.git
git push origin master
git push


=== How do I create a fork of an existing project? ===
=== How do I create a fork of an existing project? ===