diff --git a/git/forcepush.sh b/git/forcepush.sh index 44fbf94..40892d0 100644 --- a/git/forcepush.sh +++ b/git/forcepush.sh @@ -6,7 +6,7 @@ mkdir -p ${REPO} git clone https://github.com/${REPO} ${REPO} -b ${DEST_BRANCH} cd ${REPO} git remote add gerrit ssh://c3po@review.lineageos.org:29418/${REPO} -git push gerrit HEAD:refs/heads/backups/$(date +%Y%m%d-%H%m)/${DEST_BRANCH} +git push gerrit HEAD:refs/heads/backup/$(date +%Y%m%d-%H%m)/${DEST_BRANCH} git remote add new ${SRC_REPO} git fetch new ${SRC_BRANCH} git checkout FETCH_HEAD