All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Sixt <j6t@kdbg.org>
To: Steve Folly <steve@spfweb.co.uk>
Cc: git@vger.kernel.org
Subject: Re: Revert hunk?
Date: Sat, 01 May 2010 23:38:46 +0200	[thread overview]
Message-ID: <4BDC9F66.5090305@kdbg.org> (raw)
In-Reply-To: <loom.20100501T215211-11@post.gmane.org>

Am 01.05.2010 21:54, schrieb Steve Folly:
> git gui has an option to revert changes, but that applies
> to the whole file. Is there an option to revert a line
> or hunk rather than the whole file?

Stage everything except that hunk or line, and then revert.

-- Hannes

  reply	other threads:[~2010-05-01 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01 19:54 Revert hunk? Steve Folly
2010-05-01 21:38 ` Johannes Sixt [this message]
2010-05-28  4:17 ` Uri Okrent

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=4BDC9F66.5090305@kdbg.org \
    --to=j6t@kdbg.org \
    --cc=git@vger.kernel.org \
    --cc=steve@spfweb.co.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.