From 7a69956b93883efbde6d52d3f3d8f8339d748807 Mon Sep 17 00:00:00 2001 From: Tom Powell Date: Fri, 11 Aug 2023 21:43:59 -0700 Subject: [PATCH] Update forcepush.sh --- git/forcepush.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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