Re: Hey - A Conceptual Simplication....
- From
Björn Steinbrink <b.steinbrink@gmx.de>
- Date
- Nov 20, 2009, 02:35 UTC
- Message-ID
- <20091120023540.GA17796@atjola.homenet>
- In-Reply-To
- <20091120014843.GB22556@dpotapov.dyndns.org>
On 2009.11.20 04:48:44 +0300, Dmitry Potapov wrote:
Show 8 quoted lines
> On Wed, Nov 18, 2009 at 09:03:31PM -0500, George Dennie wrote: > > > > For example, the functional notion of the repository seems well > > defined: a growing web of immutable commits each created as either an > > isolated commit or more typically an update and/or merger of one or > > more pre-existing commits. > > In Git, commits are not immutable.
Commit _are_ immutable. Like all git objects (blob, tree, commits, tag). "Rewriting" history actually means creating a new history (adding objects), and then changing a ref (most often a branch head) to reference the new instead of the old history.
Björn