Skip to main content

Command line helper to Git split one file into several preserving history

Project description

release lic ci coverage


Command line helper to Git split one file into several preserving history

Split into three:, and using command line:

$ gitfilesplit

The same in Python:

from gitfilesplit.toolbox import split

    # And with subdirectories:
    targets=['', 'sub1/', 'sub2/']

Under the hood it will create several branches in which source file is moved to target locations. After that octopus merge of these branches will be performed and temporary branches removed.


  • Git
  • Python 3.6+

Project details

Download files

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

Files for gitfilesplit, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size gitfilesplit-1.0.0-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size gitfilesplit-1.0.0.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page