git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: PJ Weisberg <pjweisberg@gmail.com>
To: "Carlos Martín Nieto" <cmn@elego.de>
Cc: Carlo Trimarchi <mr.spoon21@gmail.com>,
	Massimo Manca <massimo.manca@micronengineering.it>,
	"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: pushing a branch without merging
Date: Mon, 20 Jun 2011 08:51:36 -0700	[thread overview]
Message-ID: <BANLkTik8j1g6wqeD7oGQra1Ep10uaTH0Rg@mail.gmail.com> (raw)
In-Reply-To: <20110620150303.GA2782@bee.lab.cmartin.tk>

On Monday, June 20, 2011, Carlos Martín Nieto <cmn@elego.de> wrote:

> if you want to create the branch 'experimental', or if your deployment
> system only checks out the 'master' branch, you might find
>
>     git push website experimental:master
>
> useful. In this case you may have to force-push master again, which is
> not recommended (though in your case it might be fine).

FYI, that *replaces* the remore master branch with the local
experimental branch.  If you just want someone else to be able to be
able to 'git pull website experimental', what you want to do is 'git
push website experimental' or 'git push website --all'.

-- 

-PJ

      reply	other threads:[~2011-06-20 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20 14:11 pushing a branch without merging Carlo Trimarchi
     [not found] ` <4DFF5B41.1000108@micronengineering.it>
2011-06-20 14:56   ` Carlo Trimarchi
2011-06-20 15:03     ` Carlos Martín Nieto
2011-06-20 15:51       ` PJ Weisberg [this message]

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=BANLkTik8j1g6wqeD7oGQra1Ep10uaTH0Rg@mail.gmail.com \
    --to=pjweisberg@gmail.com \
    --cc=cmn@elego.de \
    --cc=git@vger.kernel.org \
    --cc=massimo.manca@micronengineering.it \
    --cc=mr.spoon21@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).