반응형
git branch -a로 remote branch 안보이면
1) git ls-remote origin 보이는지 확인후 보이면
2) git config --edit 후에 [remote "origin"] fetch=+refs/heads/*:refs/remotes/origin/* 로 변경
3) 수정확인: git config remote.origin.fetch
확인했더니 원래 아래처럼 되어있었고 수정후 정상동작함
[remote "origin"]
url = http://10.97.24.150:8099/csPortalGroup/csportalapi.git
fetch = refs/heads/master:refs/remotes/origin/master -> +refs/heads/*:refs/remotes/origin/*
Git - Remote 브랜치 안보일 때 해결방법
remote 신규 브랜치 안보일 때 git branch -a 명령으로 remote에 생성한 신규 브런치가 안보일 때, git ls-remote origin 명령으로 확인한다. 신규 브랜치가 보이는지 확인한다. Config 수정 Config 수정은 아래 두
youngwonhan-family.tistory.com
반응형