fix git-reset-head