본문 바로가기

개발

[Git] 브랜치 제거하기

원격 브랜치 제거

$ git push -d <원격 저장소> <브랜치 이름>

 

로컬 브랜치 제거

$ git branch -d <브랜치 이름>

 

참고

https://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-locally-and-remotely