본문 바로가기

Git

[git]레포지토리 private to public: mirroring

프로젝트3는 예제코드를 받아 마이크로 서비스 아키텍처에 따라 인프라를 만들고 데이터의 흐름을 관찰하는 것이었다.

따라서 private 레포지토리를 포크하여 작업하는 방식이었다.

private으로 포크된 나의 레포지토리를 이력서에서 잘 열람할 수 있도록 하기 위해선, public으로 바꾸어야 한다.

그러나 포크된 레포지토리임으로 나에게는 그러한 권한이 없다.

 

그래서 방법을 찾아보았다.

 

Duplicating a repository - GitHub Docs

Note: If you have a project hosted on another version control system, you can automatically import your project to GitHub using the GitHub Importer tool. For more information, see "About GitHub Importer." Before you can push the original repository to your

docs.github.com

해당 방법에 따라 레포지토리를 복제하여 새로 만든 레포지토리에 똑같이 푸시할 수 있는 방법이 나와있다.

주의할 점: 프라이빗 레포지토리에 credentials과 같은 민감한 정보가 없는지 다시한번 확인하도록 한다.

 

'Git' 카테고리의 다른 글

[git]push할때 오류: Large files detected  (0) 2022.06.23
[Git]  (0) 2022.02.22