Re: pushing a branch without merging
- From
PJ Weisberg <pjweisberg@gmail.com>
- Date
- Jun 20, 2011, 15:51 UTC
- Message-ID
- <BANLkTik8j1g6wqeD7oGQra1Ep10uaTH0Rg@mail.gmail.com>
- In-Reply-To
- <20110620150303.GA2782@bee.lab.cmartin.tk>
On Monday, June 20, 2011, Carlos Martín Nieto <cmn@elego.de> wrote:
Show 7 quoted lines
> 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