반응형
gitlab 가입하고 push 하려고 하는데
pre-receive hook decline
라고 뜸
검색해보니 unprotect 를 풀면 된다고한다.
왜 기본적으로 push를 못하게 해놓은건지 이해가 되질 않는다.
어차피 첫 push한다고 하면 아무것도 없을텐데 말이지
보안사항을 알려주려고 일부러 그런건가 싶기도하고.
https://codechacha.com/ko/gitlab-pre-receive-declined-error/
GitLab - 'pre-receive hook declined' 에러 해결
Gitlab에서 Repository를 만들고 코드를 push 하려고 하는데 pre-receive hook declined 에러가 발생하면서 push가 실패했습니다. 구글링을 해보니 Protected branches의 정책으로 Git Repository를 생성할 때 기본적으
codechacha.com
반응형
'GIT > GitLab' 카테고리의 다른 글
gitlab에 branch 없을때 처음 올리기 (0) | 2022.05.19 |
---|
댓글