I was recently asked to export as a .zip
file one of my projects on my Git repository.
I have actually never had to do this in the 4 years I have been using Git.
I would prefer an answer that is all done inside command line terminal.
Join Stack Overflow to learn, share knowledge, and build your career.
git archive --format zip --output /full/path/to/zipfile.zip master
git archive --format=zip --output project.zip HEAD
, but I still checked the answer off as it did bring me dramatically closer to the solution.
– Daniel
Apr 4 '19 at 12:25