Create a zip archive of files from current commit to latest commit you zipped. The latest hash you zipped will stored localy in store.pckl
file
if you looking for simple bash commend look at this gist : https://gist.github.com/amrography/fab354545a11d0c2d94f7ca45a1aedd8
It required git
module to be installed, pip3 install git
- Clone this repo
- Copy the
git_archive
folder to your git repo folder - Navigate to
git_archive folder
and run./archive
orpython3 archive.py
- Enter the full commit hash you want to start from
--flush
to initalize the storage file, you will be asked to enter a commit hash again and branch name--branch=branch_name
replace branch_name with your desired branch name default is master
- The new archive created in sub directory inside git_archive folder