[Git] 브랜치 삭제하기

배세훈·2022년 2월 17일
0

git

목록 보기
3/5

Branch 삭제 (Local Repository)

  • git branch -d {브랜치명}

예시) test1 브랜치 삭제(로컬)

git branch -d test1

Branch 삭제 (Remote Repository)

  • git push origin --delete {브랜치명}

예시) test1 브랜치 삭제(원격 저장소)

git push origin --delete test1

profile
성장형 인간

0개의 댓글