diff --git a/wo/core/git.py b/wo/core/git.py index 3a3531b..32f919e 100644 --- a/wo/core/git.py +++ b/wo/core/git.py @@ -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} "