Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git 사용 방법
  6. Git에서 브랜치를 사용하는 방법
  7. 브랜치 만들기
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

브랜치 만들기

Git branch 명령을 사용하여 첫 번째 새 브랜치를 만들고 이름을 issue1로 지정합니다.

$ git branch issue1

매개변수를 지정하지 않으면 branch 명령은 저장소에 해당하는 모든 브랜치를 나열합니다. 별표는 활성 브랜치를 나타냅니다.

$ git branch
issue1
* main

이제 기록은 다음과 같습니다.

Current history

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life