Difference between revisions of "Git"

From Openembedded.org
Jump to: navigation, search
(OpenEmbedded Git repository)
(add link to GitPhraseBook)
Line 2: Line 2:
  
 
Git repository that currently mirrors the main Monotone repository ([http://bugs.openembedded.net/show_bug.cgi?id=4249 test installation]).
 
Git repository that currently mirrors the main Monotone repository ([http://bugs.openembedded.net/show_bug.cgi?id=4249 test installation]).
 +
 +
See [[GitPhraseBook]]
  
 
Web interfaces:
 
Web interfaces:

Revision as of 12:01, 10 October 2008

Contents

OpenEmbedded Git repository

Git repository that currently mirrors the main Monotone repository (test installation).

See GitPhraseBook

Web interfaces:

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


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

Why Git

Why are we switching:

  • 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