Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--JavaScript Snippets/Git/resetHard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScript Snippets/Git/resetHard.js b/JavaScript Snippets/Git/resetHard.js
index 0af079e..1b0d230 100644
--- a/JavaScript Snippets/Git/resetHard.js
+++ b/JavaScript Snippets/Git/resetHard.js
@@ -15,4 +15,4 @@ loadModule('/System/UI')
loadModule("/System/Git UI")
-resetToOriginHead(getRepository(getSelection()), 1);
+resetCommits(getRepository(getSelection()), 1);

Back to the top