From: Björn Steinbrink Date: Fri, 22 Aug 2008 20:36:06 GMT Subject: Re: nicer frontend to get rebased tree? Message-ID: <20080822203606.GB1598@atjola.homenet> In-Reply-To: <4d8e3fd30808221311w7c507abboecd0893def85a073@mail.gmail.com> On 2008.08.22 22:11:42 +0200, Paolo Ciarrocchi wrote: > since tip/master is often rebased (as pu or linux-next) what I do is > the following: > git branch -D tip-latest > git checkout -b tip-latest tip/master > > but I guess lot of people would expect to "throw away" and "checkout > again" with a single git command. git reset --hard tip/master or just don't create a local branch at all and do testing on a detached HEAD, ie. just: git checkout tip/master That works after each fetch. Björn