git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Carlo Trimarchi <mr.spoon21@gmail.com>
To: git@vger.kernel.org
Subject: pushing a branch without merging
Date: Mon, 20 Jun 2011 16:11:28 +0200	[thread overview]
Message-ID: <BANLkTin4fpwX9NgnP0U1+z9tRA=akR6MDg@mail.gmail.com> (raw)

Hi,
I'm managing a website with Git. I work on my local machine and push
changes to a bare git repository on a remote server. Then there there
is a hook to pull those changes in a directory with the live website.
I use the server only for the development version of the site and it
happens that when I'm working on a branch feature I want to show to
others what I'm doing.

So, on the local machine I can easily create a new branch, but I don't
know how to push what I modified in the new branch without affecting
the master branch.
What am I missing?

             reply	other threads:[~2011-06-20 14:11 UTC|newest]

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

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='BANLkTin4fpwX9NgnP0U1+z9tRA=akR6MDg@mail.gmail.com' \
    --to=mr.spoon21@gmail.com \
    --cc=git@vger.kernel.org \
    /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).