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 15b85eb commit 82bad03
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://[email protected]:29418/${REPO}
git push gerrit HEAD:refs/heads/backups/$(date +%Y%m%d-%H%m)/${DEST_BRANCH})
git push gerrit HEAD:refs/heads/backups/$(date +%Y%m%d-%H%m)/${DEST_BRANCH}
git remote add new ${SRC_REPO}
git fetch new ${SRC_BRANCH}
git checkout FETCH_HEAD
Expand Down

0 comments on commit 82bad03

Please sign in to comment.