본문 바로가기

git

지정된 커밋을 포함하는 브랜치 확인

728x90

리모트 브랜치: origin/master

커밋 해쉬: 28b161252be65dedc3fa26e28b633d427beef0a7

 

git branch

List, create, or delete branches

 

-r, --remotes

List or delete (if used with -d) the remote-tracking branches.

 

--contains [<commit>]

Only list branches which contain the specified commit (HEAD if not specified). Implies --list.

 

$ git branch -r --contains 28b161252be65dedc3fa26e28b633d427beef0a7 origin/master

 

반응형

'git' 카테고리의 다른 글

쉐도우 머지  (0) 2021.04.28