hubring

Github 위키 다른 레포의 위키로 옮기는 방법 본문

git

Github 위키 다른 레포의 위키로 옮기는 방법

Hubring 2021. 2. 24. 13:55

복사할 레포 위키의 주소를 이용해 git clone 으로 가져옴

  • 위키 주소는 github 위키 페이지 하단에 Clone this wiki locally에서 복사
  • 로컬 컴퓨터에 위키 정보를 가져옴
    $ git clone --mirror https://github.com/your-namespace/your-project.wiki.git
  • 새로 생성된 디렉토리 위치로 이동
    cd your-project
  • 옮길 레포의 위키 주소로 푸시
    $ git puth --mirror https://github.com/your-namespace/your-project.wiki.git
  • 옮겨진 레포의 주소에서 잘 들어갔는지 확인하면 끝
  • 이 방법으로 동일하게 Github에서 Gitlab으로 혹은 그 반대로 위키 내용을 이전 시킬 수 있다.

참고

https://coderefinery.org/repository/moving/

'git' 카테고리의 다른 글

git Fork 한 Repository 동기화  (0) 2020.07.11
git pull시 "untracked working tree files overwritten" 에러  (0) 2020.07.11