Created
October 19, 2022 08:00
-
-
Save rcerrejon/a4f7eb258390bd0bcfb437adcc1fd621 to your computer and use it in GitHub Desktop.
Output in a file all changed files from a pull request
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
git archive -o fileschanged.zip HEAD $(git diff --name-only --diff-filter=d xxx) | |
# it excludes deleted files | |
# xxx = Branch name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment