Reputation: 1599
So I'm following these instructions: http://mark-kirby.co.uk/2008/using-git-and-github-on-os-x, and so far I've cloned the project I want to work on and created a branch.
Now I wish to add files that exist in another folder on my machine, but I keep getting the following:
fatal: pathspec 'Users/mic/OnePageCRMVC/MKTsite25-05/index.html' did not match any files
However, the file definitely does exist... Am I trying to do something that is not allowed and the error message is throwing me off?
Upvotes: 0
Views: 2108
Reputation: 1485
You cannot add them automagically. You should copy the files into the git repo manually, then do a normal add/commit.
Upvotes: 3