Git (Windows): Newbie: Can't commit new repository ... "did not match any files(s) known to git"
Fresh3 days ago
Mar 15, 202613363 viewsConfidence Score0%
0%
Problem
I just installed Git on Windows XP Pro and I'm trying to apply it to my project. I'm trying git-ize a legacy directory structure: Any ideas what the problem could be? What does this error mean? "git status" displays many "new file:" lines so I don't know why it says it doesn't match anything.
Error Output
C:\src>git init C:\src>git add *.c C:\src>git commit -m 'initial project version' error: pathspec 'project' did not match any file(s) known to git. e…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Git (Windows): Newbie: Can't commit new repository ... "did not match any files(s) known to git"
Low Risk
Try using double quotes for "Initial project version"
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix