Last active
November 29, 2024 03:16
-
-
Save mindon/7260154730eec055c2b60d3f564c4851 to your computer and use it in GitHub Desktop.
patch last git submit as a zip
This file contains hidden or 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
git diff HEAD@{1} --diff-filter=ACMR --name-only -z | xargs -0 git archive HEAD -o patch_$(date +'%Y%m%d').zip -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
avoid deleted file not exists error