error: pathspec 'commit' did not match any file(s) known to git git exited with error code 1
See original GitHub issueInstalled in the normal way, as I have done previously. Now getting this error for some reason?:
error: pathspec 'commit' did not match any file(s) known to git
git exited with error code 1
From reading, it seems this is an error associated with typos in one line git commits, but cz seems to be working as before but throwing this error once I finish the questionaire. Your help much appreciated.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
pathspec 'commit' did not match any file(s) known to git - Stack ...
Whenever I use git commit -m , I receive an error message saying: git commit error:pathspect 'commit' did not match any file(s) known...
Read more >pathspec 'commit' did not match any file(s) known to git · Issue ...
Thanks for cmder, I've been trying it for about a week and I came across an issue while committing. git add . works,...
Read more >error pathspec did not match any file s known to git - Edureka
I'm unable to check out a branch in Git that I had worked on earlier. It is showing me the below message. Git:...
Read more >Git: cannot checkout branch - error: pathspec '…' did not match ...
It just takes the information about new branches and actual code and it works fine after: git checkout. This will help you to...
Read more >pathspec 'commit' did not match any files(s) known to git.
sign has no special meaning. ... error: pathspec 'commit'' did not match any file(s) known to git. C:\tmp\test>git commit -m "first commit ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try use
git cz
instead. It works for me.I was also getting this issue . I’m using Yarn 3.
git cz
helped me