all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Steinar Bang <sb@dod.no>
Cc: help-gnu-emacs@gnu.org
Subject: Re: vc for git users.
Date: Wed, 30 Oct 2019 10:34:27 +0100	[thread overview]
Message-ID: <87lft2inks.fsf@mbork.pl> (raw)
In-Reply-To: <86imo7tosu.fsf@dod.no>


On 2019-10-29, at 19:00, Steinar Bang <sb@dod.no> wrote:

>>>>>> Dmitry Gutov <dgutov@yandex.ru>:
>
>> I don't think it's fair. Git provides good tools. Just the other day I
>> was thinking of how to commit only a part of changes in a file. Git
>> makes it easy with 'git add -p', using the staging area.
>
> (last Friday I, mostly by accident, discovered that magit supports 'git
> add -p': go to the diff buffer (ie. 'd d' with the cursor on a file with
> changes) and stage the indivdual hunks https://stackoverflow.com/a/1096508)

Do you know that you can mark selected lines and stage a region, too?

Best,

--
Marcin Borkowski
http://mbork.pl



  parent reply	other threads:[~2019-10-30  9:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-28 14:21 vc for git users Ergus
2019-10-28 15:36 ` Pankaj Jangid
2019-10-28 16:16 ` Eli Zaretskii
2019-10-28 21:50   ` Skip Montanaro
2019-10-28 23:40     ` VanL
2019-10-29  8:30       ` Eric S Fraga
2019-10-29  2:42   ` Ergus via Users list for the GNU Emacs text editor
2019-10-29 13:48     ` Eli Zaretskii
     [not found]       ` <mailman.65.1572356923.4165.help-gnu-emacs@gnu.org>
2019-10-29 13:59         ` Lars Magne Ingebrigtsen
2019-10-29 14:18           ` Eli Zaretskii
2019-10-29 15:31             ` Dmitry Gutov
2019-10-29 16:31               ` Eli Zaretskii
2019-10-29 17:38               ` Stefan Monnier
2019-10-29 18:00               ` Steinar Bang
2019-10-29 20:09                 ` Štěpán Němec
2019-10-30  9:34                 ` Marcin Borkowski [this message]
2019-10-30 13:43                   ` Robert Pluim
     [not found]             ` <mailman.69.1572358708.4165.help-gnu-emacs@gnu.org>
2019-10-29 20:52               ` Lars Magne Ingebrigtsen

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=87lft2inks.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sb@dod.no \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.