Kuku/Git Usage: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 8: Line 8:


===Adding a Remote Branch===
===Adding a Remote Branch===
First create a local branch from the current master branch
git branch Trial-2
Now checkout that branch you just created
git checkout Trial-2
After adding/editing/commiting this branch, push it to the remote master
git push origin Trail-2:Trial-2


===Working with Remote Branches===
===Working with Remote Branches===

Revision as of 21:04, 11 July 2007

This page describes how the kuku project uses git to manage the source code. Here you will find useful git commands for playing with the kuku code, as well as a description of what each branch means in terms of kuku development.

Git commands for working with Kuku

Importing the Code

git clone git://dev.laptop.org/projects/kuku

Adding a Remote Branch

First create a local branch from the current master branch

git branch Trial-2

Now checkout that branch you just created

git checkout Trial-2

After adding/editing/commiting this branch, push it to the remote master

git push origin Trail-2:Trial-2

Working with Remote Branches

Pushing to Remote Branches

Useful Links

Git Tutorial Part 1

Git for CVS Users

SourceMage Git Guide