From: Andreas Ericsson Date: Sun, 14 Oct 2007 20:22:30 GMT Subject: Re: Git User's Survey 2007 unfinished summary continued Message-ID: <47127A86.2040607@op5.se> In-Reply-To: Johannes Schindelin wrote: > 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 >> cd other-devs-repo >> git checkout -b thebug > > I'd just do > > git checkout ^{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