Re: "Branch objects" (was: Re: cherry picking and merge)
- From
Tony Finch <dot@dotat.at>
- Date
- Aug 7, 2014, 17:47 UTC
- Message-ID
- <alpine.LSU.2.00.1408071829470.13901@hermes-1.csi.cam.ac.uk>
- In-Reply-To
- <20140807172207.GP23449@localhost>
Nico Williams <nico@cryptonector.com> wrote:
Show 9 quoted lines
> On Thu, Aug 07, 2014 at 05:42:34PM +0100, Tony Finch wrote: > > > > The problem is that the production branch gets copied around: pushed to > > the repo server, pulled by other team members, etc. Forced pushes > > are accident-prone, as is resetting a rebased branch after a pull. > > When I rebase and I need the old HEAD around I do something like this: > [...] > Either way I retain the old HEAD with some name.
Hmm, yes, I can see that would work. However my previous workflow was rather branch-heavy and I found the accumulation of names annoying. I have not yet had enough usage out of git-repub to see if it goes too far in the direction of lack-of-names. A big omission is no opportunity to edit its commit messages.
Tony.
-- f.anthony.n.finch <dot@dotat.at> http://dotat.at/ Rockall: Southwesterly becoming cyclonic in north, 5 to 7. Moderate or rough. Rain or showers. Moderate or good.