adjust git commands

This commit is contained in:
Brenden Harrell committed 2021-10-08 09:57:10 -05:00
1 parent 7adf7f7181
commit 08d30ca390
1 file changed
+1 -1
+1 -1
View File
@@ -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)