git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to do a reverse rebase?
@ 2007-08-20  5:32 linux
  2007-08-20  5:58 ` Shawn O. Pearce
  2007-08-20  9:49 ` Johannes Sixt
  0 siblings, 2 replies; 5+ messages in thread
From: linux @ 2007-08-20  5:32 UTC (permalink / raw)
  To: git

Okay, this is picayune whining, but when you've fixed all the big
bugs...

I don't want to rebase HEAD on *that*, but rather rebase *that*
on top of the current HEAD.

Sometimes I have a little debug hack on a branch by itself, and I
discover that I need it again, so I want to rebase it on top of
current development.

But there's been a LOT of development in the meantime.  And if I do

git-rebase HEAD debug_hack

git first checks out debug_hack.  This takes a while and, more
importantly, every file modified in HEAD...debug_hack has its timestamp
touched and make(1) insists on recompiling it.

I want to only modify the three files that are touched on the debug_hack
branch, so my recompile times aren't too long.

Currently, when I remember, I'll use git-cherry-pick and manually
rename branches.

Is there an easier way?  Or should I just learn StGit?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-20 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20  5:32 How to do a reverse rebase? linux
2007-08-20  5:58 ` Shawn O. Pearce
2007-08-20  6:33   ` Junio C Hamano
2007-08-20 10:39   ` linux
2007-08-20  9:49 ` Johannes Sixt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).