ReviewBoard is now the official review tool for juju

David Cheney david.cheney at canonical.com
Tue Sep 16 12:45:40 UTC 2014


On Tue, Sep 16, 2014 at 7:27 PM, roger peppe <roger.peppe at canonical.com> wrote:
> On 16 September 2014 09:22, Jonathan Aquilina <jaquilina at eagleeyet.net> wrote:
>> If i am not mistaken if you have multiple commits in a branch git has
>> something built in called git squash. This obviously eliminates the 5 step
>> process into one merge and one push.
>
> I don't see that command. Are you thinking of the "squash"
> functionality of rebase -i?
>
> FWIW, I never run those five steps in sequence together.
> Usually I just get to a situation where I know that I have all tests
> passing and I'm up to date with master (for example I've done a merge
> some time ago, probably before fixing a bunch of tests).
>
> Then it's just:
>
> $ git reset upstream/master
> $ git commit -am 'my commit message'

Nice trick, so that resets the underlying branch to master, leaving
everything you have comitted or merged uncomitted ?

>
> which is usually quicker than running rebase -i, and much
> quicker if the rebase replay leads to conflicts.
>
>   cheers,
>     rog.
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev



More information about the Juju-dev mailing list