MIRROR
-
git repository mirror creationComputer/linux 2020. 5. 2. 15:53
git clone --bare SOURCE_URL/SOURCE.git cd SOURCE.git git fetch git remote add new-origin MIRROR_URL/MIRROR.git git remote set-url new-origin git@github.com:USERNAME/MIRROR.git (only for 2FA of github) git push new-origin --mirror cd .. rm -rf SOURCE.git