Git: Changing old commits

Jamon Camisso jamonation at gmail.com
Wed Feb 16 18:56:29 UTC 2011


On 02/16/2011 09:44 AM, Justin Obara wrote:
> thank for passing this along Harris. This is something that sounds like it will be quite helpful.
> 
> Thanks
> Justin
> 
> On 2011-02-15, at 5:35 PM, Wong, Harris wrote:
> 
>> Hey Justin,
>>
>> Here is what I found about changing a series of old commits for git, works like a charm:
>>
>> http://schacon.github.com/history.html

A note, rebase is best only done with local branches. If a branch is
shared with other developers, rebasing will cause no small amount of
consternation.

Golden rule: don't rebase a branch that is shared with other people [1].

Cheers, Jamon

[1]
http://www.jarrodspillers.com/2009/08/19/git-merge-vs-git-rebase-avoiding-rebase-hell/



More information about the fluid-work mailing list