Re: Git User's Survey 2007 unfinished summary continued
Johannes Schindelin wrote:
Show 23 quoted lines
> 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...
> So:
if (have_bug_in_repo)
do_the_dscho_way()
else ...
See what I mean?
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231