Answer the question
In order to leave comments, you need to log in
GIT How to get all changed files after a certain commit?
How to get to copy somewhere all changed files from a certain commit?
Well, something like this: git show --pretty="" --name-only 963bcc1
but it is of interest to physically copy all the changed (added) files somewhere ... (for example, to another partition of the disk)
UDP.
for unix
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit_id | xargs tar -rf git_files_update.tar
for /f "usebackq tokens=*" %A in (`git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit_id`) do echo FA|xcopy "%~fA" "C:\git_files_update\%A"
Answer the question
In order to leave comments, you need to log in
git diff --name-only startid endid
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question