How to package git update in a zip file from the same branch?
The command:
git archive -o changes.zip HEAD -- $(git diff --diff-filter=AMCR --name-only <from_sha>..HEAD
where <from_sha> is the actual hash value from Git.
While there is a way to diff different branch and create another package, it would be easily managed when you put all commit in the same branch. So I recommend you to put it all in one branch first and then bundle it.
Comments