본문 바로가기

다디와 괴발개발

검색하기
다디와 괴발개발
프로필사진 아임다디

  • 분류 전체보기 (52)
    • 게임 개발 (3)
    • 알고리즘 (8)
      • C&C++ (7)
      • Java (1)
    • DevOps (26)
      • Project (2)
      • Linux (13)
    • TroubleShooting (14)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • 다디 깃허브
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
  • 백준
  • char 입력
  • dfs
  • 코드스테이츠
  • 웹 SW
  • cli
  • SSAFY입학
  • docker context create
  • 리눅스
  • 지속적 전달
  • 홈 디렉토리
  • DevOps
  • MongoServerSelectionError
  • comdef
  • OpenSearch
  • ECS
  • 수직확장
  • ci/cd
  • zshrc error
  • Java 입력
  • fastify-cli
  • mysql
  • neofetch
  • c++
  • 부트캠프
  • docker
  • 출력 명령어
  • fastify
  • 프로세스
  • 설치형 SW
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록github (1)

다디와 괴발개발

[Github] git에서 특정 브랜치만 clone하는 방법

상황 Git clone을 하고싶은데 main이 아닌 다른 특정 브랜치를 clone 해오고싶어서 방법을 찾아봤다. 그냥 Git clone을 진행하면 main 브랜치가 클론되는데, 내가 clone해오고 싶은 브랜치는 master인 상황이었다. 해결 git clone -b 'branch name' --single-branch 'repository url' git clone -b master --single-branch 'repo url' 이렇게하면 master의 branch 내용만 클론 해올 수 있다

TroubleShooting 2022. 5. 8. 22:51
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바