Ok I have a project in a folder called mywebsite
which is located in my documents folder on my mac. How do I use git to version control this folder??
Every time I try something I end up with a fatal error of some sort and it's really annoying me now, can you help?
I do git init
, then mkdir
and then I've tried adding and cloning the files to no avail.
git init
git mkdir mywebsite
cd mywebsite
git clone file://localhost/Users/me/Documens/sites/mywebsite
fatal '/Users/me/Documens/sites/mywebsite' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Please help!