Emmanuel Tisseraemmti.com·Feb 9, 2016Get (Git) the last commit files into a zip file with folder structureThis is a handy command when working with Git. git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT HEAD~1 HEAD | xargs tar -rf /d/temp/changes.tar It basically takes all the changes from your last commit including the folder structure. ...46 readsGitAdd a thoughtful commentNo comments yetBe the first to start the conversation.