git commit1 [Git] error: pathspec 'message' did not match any file(s) known to git [개발환경] ✔ Windows 10 ✔ IntelliJ IDEA Ultimate 2022.1.3 ✔ jdk 17.0.3.1 [문제상황] 작업내역을 저장하려고 하는데 add까진 되지만 commit이 안되는 상황 발생 $ git commit -m -s "Create deploy-docker-image.yml" error: pathspec 'Create deploy-docker-image.yml' did not match any file(s) known to git 요런 에러메세지가 나오면서 커밋이 안된다ㅠㅠ 구글링을 해보며 다음과 같은 시도를 해보았다 1. git init $ git init $ git add . $ git commit -m "message" $ git push origin master 2... 2022. 9. 21. 이전 1 다음