Creating a zip of modified or created files in GIT
So, how do you create a zip file of all the files that was changed to deploy?
Easy does it as answered by Jefromi:
git archive -o [PATH] [NewCommit] $(git diff --name-only [OldCommit] [NewCommit])
So it may goes like:
git archive -o ../latest.zip HEAD $(git diff --name-only 2f646b HEAD)