git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gergely Buday <gbuday@gmail.com>
To: git@vger.kernel.org
Subject: removing a commit from a branch
Date: Wed, 4 May 2011 10:35:08 +0200	[thread overview]
Message-ID: <BANLkTimtpvVRU=1iCbrteyHixaWGuVKDjQ@mail.gmail.com> (raw)

Hi there,

I have a problematic commit in a series of commits on a branch. It
contains adding a large binary file, which I would like to avoid to
push to our main repository. How can I remove that from the series of
commits? A command-line solution, please, if possible.

Cheers

- Gergely

             reply	other threads:[~2011-05-04  8:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04  8:35 Gergely Buday [this message]
2011-05-04  8:45 ` removing a commit from a branch Jeff King
2011-05-04  8:55   ` Gergely Buday
2011-05-04  9:17 ` Peter Krefting
2011-05-04 17:53   ` Dirk Süsserott
2011-05-04 19:12     ` Sorry, completely off-topic. I've a mailer problem (was: Re: removing a commit from a branch) Dirk Süsserott
2011-05-04 21:28       ` Øyvind A. Holm
     [not found]       ` <4DC1B103.90007@cisco.com>
2011-05-05 18:59         ` Sorry, completely off-topic. I've a mailer problem Dirk Süsserott

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='BANLkTimtpvVRU=1iCbrteyHixaWGuVKDjQ@mail.gmail.com' \
    --to=gbuday@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).