
위와같이 에러발생시
git 에서 대문자를 무시.
vercel 에서는 대문자를 구별 하기때문에
발생하는 에러인듯.
그래서
아래 코드로 터미널에서
대문자무시를 해제해준다
git config core.ignorecase false
git rm -r --cached .
git add .
git commit -m "캐시된거 삭제하기"
$ rm -rf .git
$ git init
$ git add .
$ git commit -m 'initial commit'
$ git remote add origin <깃헙 레포지토리 URL>
# 한번 지웠다 다시 하면 에러가 발생한다. force push 명령어를 추가하여 강제 업로드 한다!
$ git push origin master -f