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
반응형