Skip to content
Discussion options

You must be logged in to vote

해결 방법

  1. 로컬과 동일한 환경 만들기
    현재 로컬에선 대소문자를 구분하기 위해 ignorecase 옵션을 꺼놨습니다.
    그래서 git actions CI 환경에도 해당 커멘드를 추가해주었습니다.
    - name: Configure Git
       run: git config core.ignorecase false

옵션을 추가 해주었음에도 동일한 에러가 발생하였습니다.

  1. 로컬 git cache 삭제
    로컬 cache에 변경 전에 파일이 남아있는것으로 보여 하위 커멘드를 사용하여 로컬 앱 캐시를 삭제 하고 삭제된 이력을 다시 push하였습니다.
          git rm -r --cached .
          git add .
          git commit -m "commit message"
          git push 
    

그 결과 성공!

Replies: 2 comments

Comment options

ngsy
Jan 26, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by ngsy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants