728x90
에러 모습
error: pathspec '파일명' did not match any file(s) known to git
해결방법
PS C:\Users\LGE\Project\personalProject\Interactive WebDesign_Making Template> git remote update
PS C:\Users\LGE\Project\personalProject\Interactive WebDesign_Making Template> git fetch
~全 과정~
더보기
git remote updategit fetch
git remote updategit fetch
(한 후에)
+ 깃 커밋을 해주니 해결되었다.
git add .
git commit -m " 커밋메세지"
git push
에러원인 추론
더보기
ex11.transtion.html 으로 이전에 잘못썼었는데, 파일명에 .온점이 들어가서 파일 경로를 못찾겠다고 땡깡을 부린 듯 싶다.
📁파일명 규칙📁
띄어쓰기△
온점 아얘X
그래도 이제 한글로 안쓰는게 어디야 HAHAHAHA😂
Reference
[git] 새로 만든 원격 브랜치로 checkout이 안될 때. - error: pathspec did not match any file(s) known to git 해결법
728x90
반응형
댓글