Difference between revisions of "Git"

From Openembedded.org
Jump to: navigation, search
(add link to GitPhraseBook)
(Other topics)
(10 intermediate revisions by 6 users not shown)
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://cgit.openembedded.org/
* http://git.openembedded.net/
+
* Git repository: git://git.openembedded.org/openembedded
* 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 =
 
* http://git.openmoko.org/
 
* http://git.openmoko.org/
* http://svn.o-hand.com/view/poky/
+
* http://git.pokylinux.org/
** 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:
+
= Other topics =
* git remote add openmoko.org git://git.openmoko.org/git/openmoko.git
+
* [[MultipleRepositoryMethods]]
* 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 ID mapping]]
+
  
 
= 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 14:51, 22 December 2010

Contents

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.

Other Repositories of Interest

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

Other topics

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:

Personal tools
Namespaces

Variants
Actions
Navigation
Categories
OE services
Toolbox