From 61e2a4b0c445ab65b53c5c71ba01931b7f7c77ce Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 19 Dec 2023 18:14:02 +0100 Subject: [PATCH] Fix backup branch name --- git/forcepush.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/forcepush.sh b/git/forcepush.sh index 45d6360..ca403a7 100644 --- a/git/forcepush.sh +++ b/git/forcepush.sh @@ -7,7 +7,7 @@ git clone https://github.com/${REPO} ${REPO} cd ${REPO} git remote add gerrit ssh://c3po@review.lineageos.org:29418/${REPO} if git checkout ${DEST_BRANCH}; then - git push gerrit HEAD:refs/backups/heads/$(date +%Y%m%d-%H%M)/${DEST_BRANCH} + git push gerrit HEAD:refs/heads/backups/$(date +%Y%m%d-%H%M)/${DEST_BRANCH} fi git remote add new ${SRC_REPO} git fetch new ${SRC_BRANCH}