OSDN Git Service

git-gui: Let users abort with `reset --hard` type logic.
authorShawn O. Pearce <spearce@spearce.org>
Fri, 26 Jan 2007 08:54:05 +0000 (03:54 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 26 Jan 2007 08:54:05 +0000 (03:54 -0500)
commitce9735dfbd77ab7cbcb97ba8749b2f6eaa7f2527
treebbd390b3de160e810ae5667caa6aef38573119a0
parente4834837a8a02708efb6a7f8a248087a8cd49ab3
git-gui: Let users abort with `reset --hard` type logic.

If you get into the middle of a merge that turns out to be horrible
and just not something you want to do right now, odds are you need
to run `git reset --hard` to recover your working directory to a
pre-merge state.

We now offer Merge->Abort Merge for exactly this purpose, however
its also useful to thow away a non-merge, as its basically the same
logic as `git reset --hard`.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh