up vote 2 down vote favorite
share [g+] share [fb]

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:

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.
error: pathspec 'version'' did not match any file(s) known to git.

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.

link|improve this question

67% accept rate
feedback

1 Answer

up vote 3 down vote accepted

Try using double quotes for "Initial project version"

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.