Skip to content

Commit

Permalink
Fix backup branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Dec 19, 2023
1 parent f590510 commit 61e2a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/forcepush.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 61e2a4b

Please # to comment.