[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git question: specify branches to push
From: |
Stephen Berman |
Subject: |
Re: Git question: specify branches to push |
Date: |
Thu, 27 Nov 2014 12:15:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
On Thu, 27 Nov 2014 11:30:20 +0100 Lars Magne Ingebrigtsen <address@hidden>
wrote:
> Stephen Berman <address@hidden> writes:
>
>> Of course I didn't want to push master so it's good it was rejected, but
>> it would be unpleasant if my master branch happens to be up to date when
>> I push emacs-24 (or vice versa). But how do I tell git to push only
>> emacs-24 (or only master)? I tried `git push emacs-24' and `git push
>> origin/emacs-24' but it didn't recognize either as an existing branch.
>
> Say
>
> git config push.default current
>
> to get sane pushing.
On Thu, 27 Nov 2014 18:59:13 +0800 Lee Duhem <address@hidden> wrote:
> git push origin emacs-24
>
> should work.
Thanks to both of you for the advice.
Steve Berman
- Git question: specify branches to push, Stephen Berman, 2014/11/27
- Re: Git question: specify branches to push, Lars Magne Ingebrigtsen, 2014/11/27
- Re: Git question: specify branches to push,
Stephen Berman <=
- Re: Git question: specify branches to push, Eli Zaretskii, 2014/11/27
- Re: Git question: specify branches to push, Lars Magne Ingebrigtsen, 2014/11/27
- Re: Git question: specify branches to push, Eli Zaretskii, 2014/11/27
- Re: Git question: specify branches to push, David Engster, 2014/11/27
- Re: Git question: specify branches to push, Eli Zaretskii, 2014/11/27
- Re: Git question: specify branches to push, Stephen Berman, 2014/11/27
- Re: Git question: specify branches to push, Andreas Schwab, 2014/11/27
Re: Git question: specify branches to push, Lee Duhem, 2014/11/27
Re: Git question: specify branches to push, Phillip Lord, 2014/11/28