Received: from wohnheim.fh-wedel.de ([213.39.233.138]) by canuck.infradead.org with esmtp (Exim 4.61 #1 (Red Hat Linux)) id 1FXdgY-0003Js-KY for linux-mtd@lists.infradead.org; Sun, 23 Apr 2006 08:27:50 -0400 Date: Sun, 23 Apr 2006 14:27:21 +0200 From: =?iso-8859-1?Q?J=F6rn?= Engel To: Josh Boyer Message-ID: <20060423122721.GC19326@wohnheim.fh-wedel.de> References: <20060422165138.GE6629@wohnheim.fh-wedel.de> <20060422171133.GF6629@wohnheim.fh-wedel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060422171133.GF6629@wohnheim.fh-wedel.de> Cc: linux-mtd@lists.infradead.org, David Woodhouse Subject: Re: [HOWTO] Using git for mtd (v3) List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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 git.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 $ chmod og+rx ~ ~/public_git 9. Push to private tree on pentafluge $ git push ssh://git.infradead.org/~/public_git/mtd-2.6.git http://git.infradead.org/ will index the tree every five minutes via cron. Jörn -- Sometimes, asking the right question is already the answer. -- Unknown