Re: An alternate model for preparing partial commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 27, 2008, 23:14 UTC
- Message-ID
- <7viqvuo4hq.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <9af502e50806271555j3cd06ecau122b11217f612217@mail.gmail.com>
"Robert Anderson" <rwa000@gmail.com> writes:
Show 6 quoted lines
> There are good reasons for desiring a workflow that does not routinely > change history as part of the usual workflow. Maybe there are clones > of your repo. Maybe as part of your workflow discipline you do not > want HEAD states that cannot be pushed to public, because you don't > want to manually keep track of when it is ok and when it is not ok to > push HEAD to public, since git cannot tell you this.
Surely you can arrange that. You keep track of what you pushed out, and you refrain from rebasing beyond that point.
And fast-forward check in the push to the public will notice if you break that "workflow discipline" by accident.