Export files between two git commits
How to export or copy files between two commits, files those are added, modified, copied, renamed or type changed???
Its so simple and you can do this by only a single command
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT 99014747d6286be68a60a24bfd25d6208fff5c58 15662a258f3f35c11504ad607117e61350abec72 | tar -czf multiple-icals-feature.tgz -T -
If you face deleted files issue you can use following option in tar command
ReplyDelete--ignore-failed-read