-
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
'Computer > linux' 카테고리의 다른 글
Allow a VM Guest to have the same subnet network as a host has. (0) 2020.05.19 Undo git push (0) 2017.10.22 Combine multiple PDF files to a pdf file (0) 2017.08.28