lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushing to staging from patches vs branches


From: David Kastrup
Subject: Re: Pushing to staging from patches vs branches
Date: Sun, 10 Apr 2016 22:04:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Paul Morris <address@hidden> writes:

> Hi all,
>
> In CG 3.4.10 “Pushing to staging” it describes ways to push to staging
> from a patch file or from a branch:
>
> http://lilypond.org/doc/v2.19/Documentation/contributor/pushing-to-staging
>
> I tried the branch instructions to avoid the extra step of having to
> create a patch file, but it resulted in an additional commit message
> about merging from the branch, which I saw in gitk.  The instructions
> say I "should see that staging is only ahead of origin/staging by the
> commits from your branch."  So I backed everything out and went with
> the patch approach instead and that worked fine.
>
> Now I’m wondering… Is there a way to use the branch approach without
> having that extra merge commit message?  Does everyone just use the
> patch approach?  Maybe this should be covered in more depth in CG
> 3.4.10 since currently that merge commit is not mentioned and it is
> not clear whether having it is ok/preferred or not.

git rebase

Use it before pushing.  You should not rebase public branches, but your
own feature branch is fine.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]