Last active
March 27, 2021 11:54
-
-
Save nobk/4fd2b8517a38c1479b08a5ecb08319cc to your computer and use it in GitHub Desktop.
pack modified files tracked by git in to compress archive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If we need pack all working files(maybe modifed), not the commited git files. | |
# ensure pwd is git root dir | |
git ls-files | tar -T - -cf - | lzip -9q > /tmp/master.tar.lz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment