어떤 에러인가요?
- git commit을 입력하자 에러가 발생했다.
에러 메시지
Enumerating objects: 32, done. Counting objects: 100% (32/32), done. Delta compression using up to 8 threads Compressing objects: 100% (16/16), done. Writing objects: 100% (17/17), 2.40 KiB | 2.40 MiB/s, done. Total 17 (delta 10), reused 0 (delta 0), pack-reused 0 remote: Resolving deltas: 100% (10/10), completed with 9 local objects. To https://github.com/ionc635/OnWedding.git ! [remote rejected] feat/hashtag -> feat/hashtag (cannot lock ref 'refs/heads/feat/hashtag': 'refs/heads/feat' exists; cannot create 'refs/heads/feat/hashtag') error: failed to push some refs to 'https://github.com/ionc635/OnWedding.git'
에러 핸들링 방법
- branch 명을 feat/hashtag로 지정했고, 이미 feat이라는 branch가 존재한 것이 원인이었다. feat/hashtag branch를 삭제하고 feat_hashtag 등으로 이름으로 새롭게 생성했다.
에러 핸들링을 위해 참고한 레퍼런스 링크
- 백엔드 파트에서 함께 작업하던 동료에게 자문을 구했다.
어떤 에러인가요?
에러 메시지
에러 핸들링 방법
에러 핸들링을 위해 참고한 레퍼런스 링크