Git tips

From OLPC
Revision as of 19:50, 27 July 2007 by 87.15.114.240 (talk)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Create a remote branch

git clone git+ssh://dev.laptop.org/git/sugar
git branch trial-2
git push origin trial-2

Work on a remote branch

git clone git+ssh://dev.laptop.org/git/sugar
git checkout --track -b trial-2 origin/trial-2

You can now use commit, push and pull as usual.

Apply changes from master

git-cherry-pick <commit-id>