Re: Git User's Survey 2007 unfinished summary continued

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 14 Oct 2007, Andreas Ericsson wrote:

> J. Bruce Fields wrote:
>
> > Though actually the quickest way to checkout an arbitrary revision is 
> > with detached heads, and that doesn't require learning git-branch 
> > right away.
> 
> But the *easiest* way, where "easiest" means "involves the fewest 
> commands with smallest risk of fscking up your own repo", is to do
> 
> 
> git clone <other-devs-repo> other-devs-repo
> cd other-devs-repo
> git checkout -b thebug <the-bug-hash>

I'd just do

	git checkout <the-bug>^{commit}

and be done...

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux