From: Robert Pluim <rpluim@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: help-gnu-emacs@gnu.org, Steinar Bang <sb@dod.no>
Subject: Re: vc for git users.
Date: Wed, 30 Oct 2019 14:43:32 +0100 [thread overview]
Message-ID: <m2h83ql56j.fsf@gmail.com> (raw)
In-Reply-To: <87lft2inks.fsf@mbork.pl> (Marcin Borkowski's message of "Wed, 30 Oct 2019 10:34:27 +0100")
>>>>> On Wed, 30 Oct 2019 10:34:27 +0100, Marcin Borkowski <mbork@mbork.pl> said:
Marcin> 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)
Marcin> Do you know that you can mark selected lines and stage a region, too?
You donʼt even need to run 'd d', you can uncollapse the file diff in
the magit buffer, and do it from there.
Robert
next prev parent reply other threads:[~2019-10-30 13:43 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
2019-10-30 13:43 ` Robert Pluim [this message]
[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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2h83ql56j.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mbork@mbork.pl \
--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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).