From: Alex Riesen Date: Thu, 01 Jan 2009 22:06:54 GMT Subject: Re: Extracting a single commit or object Message-ID: <81b0412b0901011406n13eb2fbarbed613785d9896f4@mail.gmail.com> In-Reply-To: <20081230222106.GE29071@spearce.org> 2008/12/30 Shawn O. Pearce : > yitzhakbg wrote: >> >> How would I extract a single commit from a repository by it's SHA1 (or any >> other treeish)? >> For that matter, how is any one single object extracted? Examples please. > > git cat-file $type $sha1 > git cat-file -p $sha1