From: Michal Kiedrowicz Date: Thu, 08 Nov 2012 08:46:18 GMT Subject: Re: Revert option for git add --patch Message-ID: In-Reply-To: Nathan Broadbent gmail.com> writes: > I would like to propose a revert option for 'git add --patch', that > reverts the hunk. I often use `git add -p` to skip whitespace changes > when preparing a patch, and a 'revert' option would save me from > running 'git checkout ' after I've staged the desired changes. Doesn't `git checkout -p` do what you describe? Kind regards, Michal Kiedrowicz