Difference between revisions of "Git"

From Openembedded.org
Jump to: navigation, search
(formatting)
(Other topics)
(12 intermediate revisions by 7 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.
  
Web interfaces:
+
See [[GitPhraseBook]] for instructions on how to use the OE git repo.
* http://git.openembedded.net/
 
* http://cgit.openembedded.net/
 
* http://gitweb.openembedded.net/
 
  
To use the git repository:
+
* Web interfaces: http://cgit.openembedded.org/
* Anonymous clone.  By default, a clone now checks out the org.openembedded.dev branch.
+
* Git repository: git://git.openembedded.org/openembedded
** <pre>git clone git://git.openembedded.net/org.openembedded.dev</pre>
 
* checkout a different branch:
 
** <pre>git checkout --track -b <branch> origin/<branch></pre>
 
* see other branches that are available:
 
** <pre>git branch -r</pre>
 
* Update your branch
 
** <pre>git pull</pre>
 
 
 
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
 
 
 
  
To add a branch mirroring the openmoko tree, do the following:
+
See [[GitPhraseBook]] for ideas on how to use additional remote repositories.
* 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 =
+
= Other topics =
* [[Monotone to Git ID mapping]]
+
* [[MultipleRepositoryMethods]]
  
 
= 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 52: 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

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: