From baf64da77c2156565643ff3e346f3c84521f4406 Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Fri, 8 Oct 2021 11:10:05 -0500 Subject: [PATCH] almost there --- Platform/Client/httpInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 63c120032..4ea81d56e 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -892,7 +892,7 @@ exports.newHttpInterface = function newHttpInterface() { const git = simpleGit(options) try { await git.checkout(currentBranch) - let postCheckoutCommands = ['pull', `https://github.com/Superalgos/Superalgos.git ${currentBranch}`, `pull upstream ${currentBranch}`] + let postCheckoutCommands = ['pull', `https://github.com/Superalgos/Superalgos.git ${currentBranch}`, 'reset', `--hard https://github.com/Superalgos/Superalgos.git/${currentBranch}`] let result = await git.raw(postCheckoutCommands); console.log(result)