728x90
반응형
SMALL

안녕하세요.

GitHub Repository 복사하는 방법에 대해 포스팅합니다.


1. main mirror clone 하기

git clone --mirror {git repository url}
ex) git clone --mirror https://github.com/JeongSeongSoo/master.git

2. new repository 연결하기

# 폴더 경로로 이동
cd {repository.git}

# 새로운 레포지토리에 연결
git remote set-url origin {new repository url}
ex) git remote set-url origin https://github.com/JeongSeongSoo/new.git

3. new repository push 하기

git push --mirror

 

정상적으로 깃허브 레포지토리 복사가 완료되었습니다.

728x90
반응형
LIST
프뚜