Re: Revert option for git add --patch
- From
- Bogolisk <bogolisk@gmail.com>
- Date
- Nov 9, 2012, 14:09 UTC
- Message-ID
- <loom.20121109T150732-186@post.gmane.org>
- In-Reply-To
- <EE89F0A1-1C07-4597-B654-035F657AD09F@me.com>
Jonathon Mah <jmah <at> me.com> writes:
> > Nathan, > > I find myself performing similar actions to you: using git add -p to stage
hunks, sometimes editing the
> staged patch; and keeping mental notes of things I wanted to revert, sometimes
changing them in the editor
> in another window, and sometimes reverting them after the add session with git
checkout -p).
Other front-ends like Egg and Magit has been providing the ability to move hunks back and forth, for a long time.