GitHub Repository Copy

KJH·2023년 1월 9일
0
1. cmd 창 빈 디렉토리 생성 후 이동

2. git clone --mirror [git_old_repository_url]

// 특정 브렌치만 Copy
2-2. git clone -b [브랜치명] --single-branch --mirror [git_old_repository_url]

3. cd [repository명.git]

4. git remote set-url origin [git_new_repository_url]

5. git push --mirror
profile
항상 공부하는 N년차 개발자입니다.

0개의 댓글