[HOWTO] Using git for mtd (v3)

Josh Boyer jwboyer at gmail.com
Sun Apr 23 09:05:57 EDT 2006


On 4/23/06, Jörn Engel <joern at wohnheim.fh-wedel.de> wrote:
> On Sat, 22 April 2006 19:11:33 +0200, Jörn Engel wrote:
>
> 1. Clone Linus' tree
>
>   $ git clone git://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git mtd
>
>   The mtd git server is behind a slow DSL line and does not have
>   enough network bandwith for people to clone the full tree on a
>   regular basis.
>
> 2. Change into soon-to-be mtd tree
>
>   $ cd mtd
>
> 3. Setup mtd remotes file
>
>   $ vi .git/remotes/mtd
>   URL: git://git.infradead.org/mtd-2.6
>   Pull: master:mtd
>
> 4. Fetch mtd tree
>
>   $ git fetch mtd

Does that really do what you want though?  It will fetch the objects
from the mtd-2.6 tree, but it doesn't merge them into your local tree
from what I remember.  So to actually get the changes into the source,
you'd have to do 'git fetch mtd'; 'git merge', no?

josh




More information about the linux-mtd mailing list