Git 內類似 svn export 的功能


預設是輸出成 tar 格式到 stdout,所以可以用下面的指令取出一份 archive:

mkdir ../working
git archive master | tar -x -C ../working

This entry was posted in Computer, Murmuring, Programming, Software and tagged , , , . Bookmark the permalink.

One Response to Git 內類似 svn export 的功能

  1. mzlogin says:


Leave a Reply

Your email address will not be published. Required fields are marked *