
A small command line tool for zipping all files changed between two git commits.
Usage
By default -last
will be the current HEAD
within your repository and therefore only the -first
value is required.
Usage of git-archive.exe:
-first string
The git commit that we are to begin at.
-last string
The git commit that we are to end at. (default "...")
-list
List files rather than write to zip.
-v Toggle verbose output.
Reasoning
I have been slowly learning Go as a hobby for the past few months, usually in blocks of an hour a month and have been working on small projects that I can easily get finished. This is one such project and it solves a problem I have at work where we often need to upload just the files changed between commit versions as a zip to an FTP endpoint.
License
Distributed under MIT License, please see license file in code for more details.