Archiving Code
-
Pack the difference
git archive HEAD $(git diff $commit --diff-filter=d --name-only)
-
Pack the modified files
tar -cvf - $(git ls-files --m )
An coding monkey who reject all your request
some of useful git snippets
git archive HEAD $(git diff $commit --diff-filter=d --name-only)
tar -cvf - $(git ls-files --m )