all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: Lee Duhem <lee.duhem@gmail.com>, emacs-devel@gnu.org
Subject: Re: Git question: specify branches to push
Date: Thu, 27 Nov 2014 12:15:41 +0100	[thread overview]
Message-ID: <87bnnsnbc2.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <m3sih5ndfn.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Thu, 27 Nov 2014 11:30:20 +0100")

On Thu, 27 Nov 2014 11:30:20 +0100 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Stephen Berman <stephen.berman@gmx.net> 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 <lee.duhem@gmail.com> wrote:

> git push origin emacs-24
>
> should work.

Thanks to both of you for the advice.

Steve Berman



  reply	other threads:[~2014-11-27 11:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27 10:27 Git question: specify branches to push Stephen Berman
2014-11-27 10:30 ` Lars Magne Ingebrigtsen
2014-11-27 11:15   ` Stephen Berman [this message]
2014-11-27 16:19   ` Eli Zaretskii
2014-11-27 16:43     ` Lars Magne Ingebrigtsen
2014-11-27 16:45       ` Eli Zaretskii
2014-11-27 16:53         ` Lars Magne Ingebrigtsen
2015-04-18  6:04           ` Steinar Bang
2014-11-27 17:04         ` David Engster
2014-11-27 17:14           ` Eli Zaretskii
2014-11-27 19:38             ` Stephen Berman
2014-11-27 17:06         ` Andreas Schwab
2014-11-27 10:59 ` Lee Duhem
2014-11-28 10:35 ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnnsnbc2.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=lee.duhem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.