터미널 창에서 다음과 같이 입력:
1) git clone --mirror (https://bitbucket.org/exampleuser/repository-to-mirror.git) <- bitbucket URL을 입력
# Make a bare mirrored clone of the repository
2) cd repository-to-mirror.git <- 해당 .git 폴더로 이동
3)git remote set-url --push origin https://github.com/exampleuser/mirrored <- github URL 입력
# Set the push location to your mirror
3) git push --mirror
1) git clone --mirror (https://bitbucket.org/exampleuser/repository-to-mirror.git) <- bitbucket URL을 입력
# Make a bare mirrored clone of the repository
2) cd repository-to-mirror.git <- 해당 .git 폴더로 이동
3)git remote set-url --push origin https://github.com/exampleuser/mirrored <- github URL 입력
# Set the push location to your mirror
3) git push --mirror
댓글
댓글 쓰기