This commit is contained in:
VirtuBox
2019-08-27 16:13:23 +02:00
parent 890e81119a
commit 0728c94e6e

View File

@@ -72,8 +72,7 @@ class WOGit:
try:
Log.debug(self, "WOGit: git reset HEAD~ at {0}"
.format(path))
git.reset("HEAD~ --soft")
git.stash("save \"Rollback\"")
git.reset("--hard HEAD~")
except ErrorReturnCode as e:
Log.debug(self, "{0}".format(e))
Log.error(self, "Unable to git reset at {0} "