Re: An alternate model for preparing partial commits
From: Stephen R. van den Berg <hidden>
Date: 2016-06-15 22:44:51
From: Stephen R. van den Berg <hidden>
Date: 2016-06-15 22:44:51
David Jeske wrote:
- I could supercede 2-commits with 1, effectively making the bad-commit disappear in the linear history. Users who already have the history, however, would be unaffected, because the start/end endpoints are the same.
Superseding does not work in git trees and is a disruptive operation to
*all* commits following the point being superseded.
Also, superseding preserves the startpoint, but *always* alters the
endpoint.
I suggest you take a look at how a git-repository is stored and learn
about how the SHA1-hashes interact with the stored repository.
--
Sincerely,
Stephen R. van den Berg.
Heisenberg might have been here.