Re: nicer frontend to get rebased tree?
- From
- Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
- Date
- Aug 22, 2008, 20:46 UTC
- Message-ID
- <4d8e3fd30808221346g21999899s980be4411aabee0e@mail.gmail.com>
- In-Reply-To
- <20080822203606.GB1598@atjola.homenet>
On 8/22/08, Björn Steinbrink <B.Steinbrink@gmx.de> wrote:
Show 10 quoted lines
> 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
good point.
Show 5 quoted lines
> 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.
yes, that's the same suggestion that i got from linus. Thanks Bjorn, Linus.
these hints should probably get some visibility in lkml as well.
ciao,
-- Paolo http://paolo.ciarrocchi.googlepages.com/