에러 모습
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 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 해결법
[git] 새로 만든 원격 브랜치로 checkout이 안될 때. - error: pathspec did not match any file(s) known to git 해결
상황 : 기존 프로젝트를 리팩토링하며 리모트 저장소에 refactoring 브랜치를 하나 파서, 회사pc에서 작업 했다. 그 후, 집에 와서 refactoring 브랜치로 체크아웃 해서 작업하려고 git checkout refactoring 명
devcamus.tistory.com
댓글