David Aldrich <david.aldrich.n...@gmail.com> writes: Hi David,
> I am at the absolute beginning of learning git. Using git on Windows. > I have done: > >>git init >>git add *.cpp >>git status > On branch master > > No commits yet > > Changes to be committed: > (use "git rm --cached <file>..." to unstage) > new file: file_A.cpp > new file: file_B.cpp > >>git commit -m 'initial files' > error: pathspec 'files'' did not match any file(s) known to git > > Why is this failing? What shell are you using? The above error suggests that the quoted string 'initial files' is interpreted as two arguments 'initial and files'. IIRC, Git for windows comes with git-bash which is a proper unix shell which probably also has completion for git commands. In case you have to stick to the shell you are using right now, you need to figure out how to properly quote strings containing spaces... Bye, Tassilo -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/87ilamzgvx.fsf%40gnu.org.