본문 바로가기
Git/with Remote

원격 저장소 브랜치 삭제 (delete remote branch)

by BAYABA 2021. 10. 10.
  1. 개인 공부 목적으로 작성한 글입니다.
  2. 아래 출처를 참고하여 작성하였습니다.

목차

  1. Intro
  2. 방법1
  3. 방법2

1. Intro

  1. git에서 remote branch delete 하는 방법에 대해 알아보겠습니다.
  • 삭제할 브랜치 이름은 feature/TEST-860 입니다

2. 방법1

$ git push origin --delete feature/TEST-860

3. 방법2

$ git branch -d feature/TEST-860
$ git push origin feature/TEST-860

출처

  1. git 원격지 브랜치 삭제(delete remote branch)

'Git > with Remote' 카테고리의 다른 글

Git revert  (0) 2021.10.23
원격 저장소에 올라간 커밋 제거  (0) 2021.10.10
Remote Branch 가져오기 (master 제외)  (0) 2021.10.10