Julien Cristau wrote:
> On Wed, Jun 24, 2009 at 12:38:50 +0200, Simon Thum wrote:
> 
>> BTW, how do you edit unpushed commits which have dependent follow-ups?
>>
>> I use a git format-patch, reset, commit, am sequence. You know a smarter  
>> way, particularly one avoiding reset?
>>
> 'git rebase -i' might be what you're looking for.
I use it regularly, but AFAIK it doesn't help me much if changes are 
convoluted by the follow-ups (that's what I meant by 'dependent' 
follow-ups, my bad).

My case was: First commit changes a signature, second does param 
renames, third declares it internal. So to change the first one I have 
to edit off it using reset, which would kill subsequent ones. And that's 
what I'd like to avoid. Format-patch and stash helps it, but my guts 
tell me this could be done in a less stupid manner.

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to