"Git 원격 브랜치 삭제"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 3개는 보이지 않습니다)
8번째 줄: 8번째 줄:


{{소스헤더|실행예시}}
{{소스헤더|실행예시}}
# git push origin --delete mybranch1
<source lang='console'>
root@linux01:~# git branch -a | grep mybranch1
  remotes/origin/mybranch1
root@linux01:~# git push origin --delete mybranch1
Username for 'https://github.com': testuser01
Username for 'https://github.com': testuser01
Password for 'https://testuser01@github.com':
Password for 'https://testuser01@github.com': P@ssw0rd
To https://github.com/testuser01/my-www.git
To https://github.com/testuser01/my-www.git
  - [deleted]        mybranch1
  - [deleted]        mybranch1

2020년 6월 12일 (금) 13:45 기준 최신판

1 개요[ | ]

git 원격 브랜치 삭제
git 원격저장소 브랜치 삭제
git push origin --delete 원격브랜치명
실행예시
root@linux01:~# git branch -a | grep mybranch1
  remotes/origin/mybranch1
root@linux01:~# git push origin --delete mybranch1
Username for 'https://github.com': testuser01
Password for 'https://testuser01@github.com': P@ssw0rd
To https://github.com/testuser01/my-www.git
 - [deleted]         mybranch1

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}