git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rebase --continue confusion
@ 2010-05-30  0:59 Dale Rowley
  2010-05-30 12:44 ` Tim Visher
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Dale Rowley @ 2010-05-30  0:59 UTC (permalink / raw)
  To: git

I ran into a conflict while running 'git rebase branch1 branch2'. So I edited
the file and resolved the conflicts, and then ran 'git add <file>; git rebase
--continue'. This printed out a message 'No changes - did you forget to use git
add?'. I thought 'No, I'm pretty sure I ran git add' and I assumed I had run
into a bug in git because I didn't see how this conflict was different than any
others I had successfully resolved. The next time this problem came up, the
light finally came on and I realized that I should just run 'git rebase --skip'
because when I resolved the conflicts, I had basically undone all changes that
the patch would introduce.

OK, so there isn't a bug in git, but since then I've seen co-workers stumped by
this same problem. So maybe it would help to clarify the message? Maybe
something like "The index is in the same state as it was before the patch was
applied - refusing to make an empty commit. Did you forget to use 'git add'? Or
maybe you should use 'git rebase --skip'?"


Dale

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

end of thread, other threads:[~2010-06-07  0:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-30  0:59 rebase --continue confusion Dale Rowley
2010-05-30 12:44 ` Tim Visher
2010-05-31  0:14 ` skillzero
     [not found] ` <20100530101926.3bac34c8jk@jk.gs@perceptron>
2010-05-31 19:31   ` [PATCH] git-am: suggest what to do with superfluous patches Junio C Hamano
2010-05-31 20:17     ` Ramkumar Ramachandra
2010-05-31 22:51       ` Jan Krüger
2010-06-06 13:10 ` rebase --continue confusion Eli Barzilay
2010-06-06 22:18   ` Jeff King
2010-06-06 22:32     ` Eli Barzilay
2010-06-06 22:46       ` Jeff King
2010-06-06 23:42         ` Eli Barzilay
2010-06-07  0:41           ` Jeff King

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