반응형
# git clone --mirror 저장소1.git
# cd repository-to-mirror.git
# git remote set-url --push origin 저장소2.git
# git push --mirror
에러 발생 시 아래 Command 실행 후 재시도!
git show-ref | cut -d' ' -f2 | grep 'pull-request' | xargs -r -L1 git update-ref -d
반응형