summaryrefslogtreecommitdiff
path: root/git-reset-script
blob: 0c02aa6423ec485e19bd7439c926addbb8fd029d (plain)
1
2
3
4
5
#!/bin/sh
. git-sh-setup-script || die "Not a git archive"
git-read-tree --reset HEAD
git-update-cache --refresh
rm -f "$GIT_DIR/MERGE_HEAD"