help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to commit hunks using VC?


From: Stefan Monnier
Subject: Re: How to commit hunks using VC?
Date: Fri, 26 Oct 2018 14:44:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Nowadays, you can basically do the same with `git stash`
> Why not "git commit --interactive"?

Two reasons:
- The OP asks to do it with VC and VC supports `git stash` but not
  `git commit --interactive`.
- I often find that I need to install only part of a hunk, which is
  easy to do if you go through "stash + edit + commit + unstash".


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]