Skip to content

Commit

Permalink
Update forcepush.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zifnab06 authored Aug 12, 2023
1 parent 7a69956 commit 6863251
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 @@ -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/backup/$(date +%Y%m%d-%H%m)/${DEST_BRANCH}
git push gerrit HEAD:refs/heads/backup/${DEST_BRANCH}_$(date +%Y%m%d-%H%m)
git remote add new ${SRC_REPO}
git fetch new ${SRC_BRANCH}
git checkout FETCH_HEAD
Expand Down

0 comments on commit 6863251

Please sign in to comment.