mirror of
https://github.com/git/git.git
synced 2026-07-03 13:18:47 +00:00
ce9735dfbd77ab7cbcb97ba8749b2f6eaa7f2527
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>
Description
Languages
C
50%
Shell
39.3%
Perl
4.3%
Tcl
3.1%
Python
0.8%
Other
2.3%