Browse Source

Allow atomic push to non default remote (#61925)

Martijn Laarman 4 years ago
parent
commit
65ffd0ba18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev-tools/atomic_push.sh

+ 1 - 1
dev-tools/atomic_push.sh

@@ -37,7 +37,7 @@ do
     
     # Pull and rebase all branches to ensure we've incorporated any new upstream commits
     git checkout --quiet ${BRANCH}
-    git pull "${REMOTE}" --rebase --quiet
+    git pull "${REMOTE}" "${BRANCH}" --rebase --quiet
     
     PENDING_COMMITS=$(git log ${REMOTE}/${BRANCH}..HEAD --oneline | grep "^.*$" -c || true)