Git: Difference between revisions

From Openembedded.org
Jump to navigation Jump to search
(add link to GitPhraseBook)
(information and remove redundant information)
Line 1: Line 1:
= OpenEmbedded Git repository =
= OpenEmbedded Git repository =


Git repository that currently mirrors the main Monotone repository ([http://bugs.openembedded.net/show_bug.cgi?id=4249 test installation]).
The Git repository is now the official source repository. Monotone is no longer used.


See [[GitPhraseBook]]
See [[GitPhraseBook]] for instructions on how to use the OE git repo.


Web interfaces:
Web interfaces: http://git.openembedded.net/
* http://git.openembedded.net/
* http://cgit.openembedded.net/
* http://gitweb.openembedded.net/
 
To use the git repository:
* Anonymous clone.  By default, a clone now checks out the org.openembedded.dev branch.
  git clone git://git.openembedded.net/org.openembedded.dev
* checkout a different branch:
  git checkout --track -b <branch> origin
* see other branches that are available:
  git branch -r
* Update your branch
  git pull
 
and if your key is registered, push/pull from:
 
ssh://gittrial@git.openembedded.net/org.openembedded.dev


= Other Repositories of Interest =
= Other Repositories of Interest =
Line 29: Line 12:
** svn co http://svn.o-hand.com/repos/poky/trunk poky
** svn co http://svn.o-hand.com/repos/poky/trunk poky


 
See GitPhraseBook for ideas on how to use additional remote repositories.
To add a branch mirroring the openmoko tree, do the following:
* git remote add openmoko.org git://git.openmoko.org/git/openmoko.git
* git fetch openmoko.org
* git branch -r
* gitk openmoko.org/org.openmoko.asu.stable
* git diff origin/org.openembedded.dev openmoko.org/org.openmoko.asu.stable
* git diff origin/org.openembedded.dev openmoko.org/org.openmoko.asu.stable classes
* git checkout -b org.openmoko.asu.stable --track openmoko.org/org.openmoko.asu.stable


= Monotone to Git Conversion Issues =
= Monotone to Git Conversion Issues =
Line 43: Line 18:


= Why Git =
= Why Git =
Why are we switching:
Why did we switch from monotone to git:
* better support for branching and merging (this is where git shines)
* better support for branching and merging (this is where git shines)
* much faster
* much faster
Line 54: Line 29:
* http://thread.gmane.org/gmane.comp.handhelds.openembedded/17868/focus=17892
* http://thread.gmane.org/gmane.comp.handhelds.openembedded/17868/focus=17892
* http://thread.gmane.org/gmane.comp.handhelds.openembedded/18959/focus=18983
* http://thread.gmane.org/gmane.comp.handhelds.openembedded/18959/focus=18983


[[Category:Dev]]
[[Category:Dev]]
[[Category:User]]
[[Category:User]]

Revision as of 11:59, 15 October 2008

OpenEmbedded Git repository

The Git repository is now the official source repository. Monotone is no longer used.

See GitPhraseBook for instructions on how to use the OE git repo.

Web interfaces: http://git.openembedded.net/

Other Repositories of Interest

See GitPhraseBook for ideas on how to use additional remote repositories.

Monotone to Git Conversion Issues

Why Git

Why did we switch from monotone to git:

  • better support for branching and merging (this is where git shines)
  • much faster
  • much larger user base -- many people doing OE work are already using git for kernel work

Mail list discussions on the topic: