git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git rebase --continue automatic --skip?
@ 2011-04-08 20:30 skillzero
  2011-04-09  0:03 ` Jeff King
  0 siblings, 1 reply; 7+ messages in thread
From: skillzero @ 2011-04-08 20:30 UTC (permalink / raw)
  To: Git Mailing List

Is there a way to make git rebase --continue automatically do a --skip
if a conflict resolution ends up not needing the patch? Normally, git
rebase will just silently skip a patch if it's not needed, but if a
patch results in a conflict and I use git mergetool and end up
deleting all the changes, git rebase --continue stops and makes me
explicitly use --skip.

It's a not a big deal, but it happens a lot to me because I do work on
a branch that really should have gone on master, but I don't want to
disrupt my branch work (i.e. I'm lazy) so I do it directly on the
branch then later clean up those commits by isolating the parts that
are truly part of the topic vs parts that are unrelated. So I hit a
conflict, but want to take the version from master (so the commit
disappears from the branch).

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

end of thread, other threads:[~2011-04-13 19:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08 20:30 git rebase --continue automatic --skip? skillzero
2011-04-09  0:03 ` Jeff King
2011-04-09 13:03   ` Peter Baumann
2011-04-10  1:33     ` Junio C Hamano
2011-04-11  6:10     ` Peter Baumann
2011-04-10  1:24   ` Junio C Hamano
2011-04-13 19:02     ` Joshua Juran

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).