summaryrefslogtreecommitdiff
path: root/git-reset-script
blob: fe773388c9d55fdb87967bc04765fa94a83bf2c7 (plain)
1
2
3
4
5
#!/bin/sh
: ${GIT_DIR=.git}
git-read-tree --reset HEAD
git-update-cache --refresh
rm -f "$GIT_DIR/MERGE_HEAD"