[git] “remote: error: refusing to update checked out branch: refs/heads/master” 케이스
좀 멍청한 짓이었는데, intellij 셋팅 후 clone 으로 프로젝트를 받아온 상태에서, 당연히 remote repository 가 clone 주소라고 생각하고 있었는데, remote branch 의 주소가 다름 아닌 local branch 의 주소였던 것이다. 그래서 push가 reject 가 된 것.. remote repository 의 주소를 원격지로 다시 설정하고 push를 하니 문제가 없었다. (-_- )..