From 08d30ca3908b81e44ba83ac22b7d8c0bf20109dd Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Fri, 8 Oct 2021 09:57:10 -0500 Subject: [PATCH] adjust git commands --- 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 5a3e88fe2..b9434fd15 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 = ['remote add upstream https://github.com/Superalgos/Superalgos', `pull upstream ${currentBranch}`] + let postCheckoutCommands = [`pull https://github.com/Superalgos/Superalgos.git ${currentBranch}`, `pull upstream ${currentBranch}`] let result = await git.raw(postCheckoutCommands); console.log(result)