오늘은 git branch 를 merge하기 위해서
remote branch 를 확인해 보았다.
확인을해보니 remote brahch 랑 local brach가 일치하지 않아서
구글링을 해보니
COLIN님 블로그에서 해답을 찾았다.
링크: https://colinch4.github.io/2021-09-09/applying-a-branch-local-from-remote/
요점은 "fetch 할 때 --prune 옵션을 사용하면 리모트 저장소에 제거된 브랜치 정보도 함께 가져온다." 이다.
# While fetching
$ git fetch --prune <name>
# Only prune, don't fetch
$ git remote prune <name>
더욱 자세한 내용은 COLIN님 블로그를 참고하면 된다~