So I have a git repository on my local computer that I want to archive (zip is fine) and upload to my server. Once the file has been uploaded to the server, I will extract the archive. I don't need any of the git information, so I think I need to use
git archive but I'm not exactly sure how to use it...and the tutorials haven't been helping.
this is what I've got so far:
cd projectname git archive master
Then I don't know what to do next. I want to create the archive in this directory:
How do I do it?