måndag 01 december 2008 18:37:43 skrev Csaba Henk: > On 2008-12-01, Nick Andrew <nick@xxxxxxxxxxxxxxx> wrote: > > On Mon, Dec 01, 2008 at 11:41:39AM +0000, Csaba Henk wrote: > >> I can't see any option for rebase which would yield this cp-like > >> behaviour. Am I missing something? > > > > How about this: > > > > git checkout topic > > git branch keepme > > git rebase master > > OK, thanks guys, now I'm enlightened (a little bit more than before). And if you forgot to create the keepme branch you can access the previous version using the topic@{1} or topic@{'1 hour ago'} etc. This uses the reflog that tracks all "versions" of your branch. Keeping gitk running is nice way to see previous versions (press F5 after rebase). -- robin -- 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