Git 內類似 svn export 的功能

git-archive

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

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

Related Posts:

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