From b259db992ef90c484ca0265712507daf48a64dfb Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Sun, 10 Oct 2021 22:12:03 -0500 Subject: [PATCH] more changes --- Platform/Client/httpInterface.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 5b0b76c27..b072eab8f 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -894,15 +894,18 @@ exports.newHttpInterface = function newHttpInterface() { await git.checkout(currentBranch) let remotes = await git.getRemotes(); + for(let remote in remotes) { + console.log(remote) + } if (true){ - console.log(remotes) + //console.log(remotes) let setUpstream = ['remote', 'add', 'upstream', 'https://github.com/Superalgos/Superalgos'] //await git.getRemotes(setUpstream); } let pullMainRepo = ['pull', 'upstream', `${currentBranch}`] - await git.raw(pullMainRepo); + //await git.raw(pullMainRepo); let updateToMainRepo = ['reset', '--hard', `upstream/${currentBranch}`] - await git.raw(updateToMainRepo); + //await git.raw(updateToMainRepo); } catch (err) { console.log('[ERROR] Error changing current branch to ' + currentBranch)