Skip to content

Instantly share code, notes, and snippets.

@Kyungpyo-Kim
Last active November 11, 2023 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Kyungpyo-Kim/d0ce37d38a05dba82c75ed80979c3999 to your computer and use it in GitHub Desktop.
Save Kyungpyo-Kim/d0ce37d38a05dba82c75ed80979c3999 to your computer and use it in GitHub Desktop.
Repository 복사해 오기

Repository 복사해 오기

준비물

결과

  • 모든 branch 별 commit 및 tag 내용 그대로 복사
  • github 사용자는 그대로 연결됨
  • private repo 도 가능

방법

git clone --mirror http://github.com/Kyungpyo-Kim/old_repo.git

cd old_repo.git/

git remote set-url --push origin https://github.com/Kyungpyo-Kim/new_repo.git

git push --mirror
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment