Skip to main content

A small python program to export files changed between git commits or branches to a zip file retaining the directory structure.

Project description

gitzip

Export all the changed files between two git commits or branches to a zip file including the directory structure.

Usage

Navigate into your repositorys base directory. Then exeucte the following command.

python -m gitzip export.zip 0c321f2 master

This will create a export.zip file containing all files that changed between commit 0c321f2 and the current master branch. The files will have the contents of the current master. If the changed files are in a directory, this directory is created in the zip file.

Installation

To install use pythons package index:

python -m pip install gitzip

License

This program can be used by anyone since it is licensed under Mozilla Public License Version 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitzip-1.0.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

gitzip-1.0.0-py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page