Git remote: error: GH006: Protected branch update failed for refs/heads/master.remote: error: Cannot force-push to this protected branch( 보호브랜치 push가 안될때) 살다보니개발자 2022. 8. 28. 04:16 push 했는데 remote: error: GH006: Protected branch update failed for refs/heads/master. remote: error: Cannot force-push to this protected branch 라고 나올때, 해당 브랜치의 Settings -> Branches 에 Branch protection rules 에 있는 룰을 Delete 눌러 삭제 해주면 된다.