git/git-reset-script

6 строки
141 B
Bash
Executable File

#!/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"