Git development
 help / color / mirror / Atom feed
From: "nathan bullock" <nathanbullock@gmail.com>
To: git@vger.kernel.org
Subject: I never want to push a given change
Date: Mon, 16 Jul 2007 10:18:09 -0600	[thread overview]
Message-ID: <916b88c10707160918n7a4948g5fb55a9d8ace9833@mail.gmail.com> (raw)

I have been using git for a little while and one thing that I would like to
be able to do is never push a given change, or set of changes.

So lets say I clone a .git repository. Then I make a couple of changes
that I don't want anyone else to see, do a commit. Then I make some
other changes that I want everyone else to see and do another commit.

How do I push just the second commit?
And how do I make it so that every other time I do a push after this that
first commit will never be sent?

Thanks,
Nathan

ps. I am really enjoying using git. Thanks.

             reply	other threads:[~2007-07-16 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 16:18 nathan bullock [this message]
2007-07-17  3:12 ` I never want to push a given change Brian Gernhardt
2007-07-17  5:04   ` nathan bullock
2007-07-17  5:06     ` Brian Gernhardt

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=916b88c10707160918n7a4948g5fb55a9d8ace9833@mail.gmail.com \
    --to=nathanbullock@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