git-applymbox: allow retrying after fixing up.
[alt-git.git] / git-reset-script
blob0c02aa6423ec485e19bd7439c926addbb8fd029d
1 #!/bin/sh
2 . git-sh-setup-script || die "Not a git archive"
3 git-read-tree --reset HEAD
4 git-update-cache --refresh
5 rm -f "$GIT_DIR/MERGE_HEAD"