Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Christina,

On Sat, 2011-05-07 at 22:54 +0200, Chr. Rossmanith wrote:
I've used the method names Thorsten suggested, prefixed them with lcl_ 
made them static and end up with two commits for the whole clean up 
(stage 1 posted on the list, stage 2 improvements). Is that ok for 
pushing or should I somehow join the two commits into a single one?

        That is fine of course; if you know you're going to want to squash
commits together, doing:

        git commit -a --amend

        is your friend - that just stacks it onto your last commit: of course,
that must not have been pushed by that stage (or you'll bust the public
history of course).

        Failing that:

        git rebase -i HEAD~2

        should allow you to squash commits together, but there's no problem
really with two commits here.

        ATB,

                Michael.

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.