본문 바로가기
develop/etc

[GIT] git-pages 404 error

by hyoE 2021. 9. 11.
반응형

 

 gh-pages를 사용하였는데 갑자기 404에러가 발생해 고생했다. 분명히 몇 일 전까지만 해도 잘 사용했는데 갑자기 에러가 발생하니 당황 스러울 밖에. 해결법을 찾았는 너무 간단한다.

 

git commit --allow-empty -m "Trigger rebuild" git push
git push

 

빈 커밋을 통해 rebuild하는 것 같은데 왜 이걸로 문제가 해결되는는 까지는 확인하지 못했다.

심오한 git 세계,,,,😇

 

https://stackoverflow.com/questions/11577147/how-to-fix-http-404-on-github-pages/45907768#45907768

 

How to fix HTTP 404 on Github Pages?

Here is my GitHub repository on the gh-pages branch. Everything looks good, I have my index.html, my CSS, JS and pictures folders. But when I access http://roine.github.com/p1 I get HTTP 404 not f...

stackoverflow.com

 

반응형

'develop > etc' 카테고리의 다른 글

[NPM] install시 --save 뜻  (0) 2021.09.15
[NPM] permission denied error  (0) 2021.09.12
[GIT] ! [rejected] main -> main (fetch first)  (0) 2021.08.25
[GIT] branch 생성 & 사용하기  (0) 2021.08.25
[ETC] ICON 사이트  (0) 2021.08.08

댓글