Try doing a mixed reset.

This commit is contained in:
Azareal 2018-04-04 10:26:36 +01:00
parent 6d3646e399
commit 2573896523
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func updater(scanner *bufio.Scanner) bool {
}
// The unstaged files are particularly resistant, so blast them away at full force
err = workTree.Reset(&git.ResetOptions{Mode: git.HardReset})
err = workTree.Reset(&git.ResetOptions{Mode: git.MixedReset})
if err != nil {
return logError(err)
}