From 0728c94e6e753961e978678fca1f9069d02bc1c2 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 27 Aug 2019 16:13:23 +0200 Subject: [PATCH] edit git --- wo/core/git.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} "