Re: [ANNOUNCE] git-pasky-0.7
- From
Greg KH <greg@kroah.com>
- Date
- Apr 24, 2005, 05:11 UTC
- Message-ID
- <20050424051130.GA25332@kroah.com>
- In-Reply-To
- <20050423220236.26f834ee.pj@sgi.com>
On Sat, Apr 23, 2005 at 10:02:36PM -0700, Paul Jackson wrote:
Show 11 quoted lines
> The winning solution via private email: > > mkdir linux > cd linux > git init rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > > Another email was missing the 'scm' term. > > I still don't see how to get to the official 2.6.12-rc3: > > a2755a80f40e5794ddc20e00f781af9d6320fafb
From your "linux" directory do: cd .. mkdir 2.6.12-rc3 cd 2.6.12-rc3 mkdir .git cp -rl ../linux/.git/object .git/objects TREE_HEAD=`cat-file commit a2755a80f40e5794ddc20e00f781af9d6320fafb | head -n 1 | cut -f 2 -d " "` echo "$TREE_HEAD" > .git/HEAD read-tree $TREE_HEAD checkout-cache -a update-cache --refresh
And you should have a 2.6.12-rc3 tree, all ready to commit new changes into.
Or at least that's how my wrapper scripts do it, I haven't converted them over to the "easier" git-pasky commands yet :)
thanks,
greg k-h