로그 남기기

  • 홈
  • 태그

깃허브 특정 브랜치 1

[Git] 특정 branch만 골라서 clone하기

로컬 저장소에서 작업하다보면 원격 저장소의 특정한 브랜치만 clone 해야하는 경우가 있다. git clone -b BRANCH_NAME --single-branch REPOSITPRY 위와 같이 --single-branch 옵션을 부여해 원하는 브랜치 내용만 클론할 수 있다. example develop이라는 브랜치만 클론하고 싶은 경우 아래처럼 명령어를 입력하면 된다. git clone -b develop --single-branch https://github.com/sangm1n/example.git

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-11 15:40

방문자수Total

  • Today :
  • Yesterday :
Github

Copyright © Kakao Corp. All rights reserved.

  • github

티스토리툴바