Re: Proper way to abort incorrect cherry-picking?
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 28, 2010, 19:50 UTC
- Message-ID
- <20100428195001.GA2242@progeny.tock>
- In-Reply-To
- <s2m76c5b8581004281238jf7179fffna7d757fee6ab4f10@mail.gmail.com>
Eugene Sajine wrote:
Show 11 quoted lines
> the automatic cherry-pick failed and caused conflicts, so in > order to to cancel the whole operation i had to do the following: > > 1. mark the conflicting files as resolved (without even resolving > them) by doing git add. > 2. unstage all files staged for commit as a result of incomplete cherry picking > 3. manually checkout touched files to their correct state (git checkout file) > > and then i was able to repeat cherry-picking with correct commits. > > Is there a better way?
git reset --merge
Ideas for where this should be put in the git-cherry-pick.txt manual?
Thanks, Jonathan