adjust git commands
This commit is contained in:
1 parent
7adf7f7181
commit
08d30ca390
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user