search

Home  >  Q&A  >  body text

Please help github how to export files [to a certain directory]?

For example, if you build a website locally, git init, add ., commit, and then want to upload it to ftp, but you don’t want to upload git related files.
What should you do?
Similar to the checkout in tortoisesvn That way.

淡淡烟草味淡淡烟草味2822 days ago556

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-02 09:38:22

    git archive --format zip HEAD > archive.zip

    reply
    0
  • Cancelreply