로그 남기기

  • 홈
  • 태그

clone 1

[Git] Repository 그대로 옮기기

gitlab에서 작업한 프로젝트를 github에 끌어올 수 있는 방법이 있지 않을까 해서 찾아본 결과 mirror를 이용하면 된다고 한다. 커밋 히스토리까지 그대로 끌어오기 때문에 자주 사용할 것 같다. mirror 원래 있던 ORIGIN_REPO 레파지토리를 NEW_REPO 라는 신규 레파지토리로 가져오고 싶다고 가정해보자. https://github.com/ORIGIN_REPO.git https://github.com/NEW_REPO.git 간단하게 mirror 옵션을 이용해 클론한 후 푸쉬해주면 된다. $ git clone --mirror https://github.com/ORIGIN_REPO.git $ cd ORIGIN_REPO.git $ git remote set-url --push origin..

Infra/📺 Git
1
더보기
프로필사진

  • 💻 Development (408)
    • Algorithm (200)
      • 📝 Concept (10)
      • 📊 Problem Solving (190)
    • Computer Science (17)
      • 🔒 Operating System (11)
      • 📡 Network (3)
      • 💾 Database (3)
    • Back-end (18)
      • ⌛ Intro (5)
      • 🔩 Server program (5)
      • 📗 Spring (5)
      • 📒 Node.js (3)
    • Language (9)
      • 📕 Java (8)
      • 📘 Python (1)
    • Infra (13)
      • ⛅ AWS (3)
      • 📺 Git (10)
    • Retrospect (119)
      • 🥇 Daily (111)
      • 🥈 Weekly (6)
      • 🥉 Montly (2)
    • Etc (32)
      • 📢 Talk (11)
      • 📃 Certification (21)

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

05-20 03:32

방문자수Total

  • Today :
  • Yesterday :
Github

Copyright © Kakao Corp. All rights reserved.

  • github

티스토리툴바