public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Josh Boyer <jwboyer@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>, linux-mtd@lists.infradead.org
Subject: Re: [HOWTO] Using git for mtd
Date: Sat, 22 Apr 2006 19:11:33 +0200	[thread overview]
Message-ID: <20060422171133.GF6629@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <20060422165138.GE6629@wohnheim.fh-wedel.de>

Next version with the FIXMEs filled in.  If anyone has comments, spots
errors, etc., please tell me.

1. Clone Linus' tree

  $ git clone git://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git mtd

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

5. Checkout mtd tree

  $ git checkout mtd

6. Edit some files

  Use your favorite editor.  Don't forget to tell git about new files
  with "git add".

7. Commit changes

  $ git commit -a -s

  Don't forget the '-s' part or you have to add the Signed-Off-By:
  line yourself.

8. Create private tree on pentafluge

  $ ssh pentafluge.infradead.org
  $ mkdir public_git
  $ cd public_git
  $ ln -s ~/public_git
  $ git clone -l -n -s --bare /home/git/mtd-2.6.git mtd-2.6.git

9. Push to private tree on pentafluge

  $ git push ssh://pf/~/public_git/mtd-2.6.git

Jörn

-- 
Victory in war is not repetitious.
-- Sun Tzu

  reply	other threads:[~2006-04-22 17:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-22 16:51 [HOWTO] Using git for mtd Jörn Engel
2006-04-22 17:11 ` Jörn Engel [this message]
2006-04-23  0:09   ` Josh Boyer
2006-04-23  1:24     ` Jörn Engel
2006-04-23 12:08   ` David Woodhouse
2006-04-23 12:17     ` Jörn Engel
2006-04-23 12:23       ` David Woodhouse
2006-04-23 12:20   ` David Woodhouse
2006-04-23 12:27   ` [HOWTO] Using git for mtd (v3) Jörn Engel
2006-04-23 13:05     ` Josh Boyer
2006-04-23 13:16       ` Jörn Engel
2006-04-23 13:12     ` David Woodhouse
2006-04-23 13:27     ` David Woodhouse
2006-04-23 13:40     ` [HOWTO] Using git for mtd (v4) Jörn Engel
2006-04-23 16:04       ` David Woodhouse
2006-04-23 17:46     ` [HOWTO] Using git for mtd (v3) Nicolas Pitre
2006-04-23 17:56       ` Jörn Engel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060422171133.GF6629@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=dwmw2@infradead.org \
    --cc=jwboyer@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox