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.

브랜치 삭제

이전 단계에서 issue1main과 성공적으로 병합했으며 이제 삭제할 수 있습니다.

issue1 브랜치를 삭제하려면 git branch -d 명령을 사용합니다.

$ git branch -d issue1
Deleted branch issue1 (was b2b23c4).

Git branch 명령을 사용하여 issue1이 삭제되었는지 확인합니다. 메인 브랜치만 나열되어야 합니다.

$ git branch
* main
Current history

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life