Skip to main content

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

Project description

https://github.com/idlesign/gitfilesplit

release lic ci coverage

Description

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

Split myhugefile.py into three: smaller.py, another.py and some.py using command line:

$ gitfilesplit myhugefile.py smaller.py another.py some.py

The same in Python:

from gitfilesplit.toolbox import split

split(
    source='myhugefile.py',
    targets=['smaller.py', 'another.py', 'some.py']
)

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.

Requirements

  • 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.

Source Distribution

gitfilesplit-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitfilesplit-0.1.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gitfilesplit-0.1.0.tar.gz.

File metadata

  • Download URL: gitfilesplit-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for gitfilesplit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 87db2007dcc8bfd97b954f6d10ff38f5dee1bb991af9293587d9b76ba413bf72
MD5 51308bd280f31e69c139962add508378
BLAKE2b-256 699da0a1c5648788d69e4b1285a4b9391f4a0954df2b44f99684bb06d944f60d

See more details on using hashes here.

File details

Details for the file gitfilesplit-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for gitfilesplit-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fafdc3af43bacb46bae81ff55219077e4a168c03104a62a6f423037c1ba202e0
MD5 2ef1acc77244bfb19291361c2ea6466e
BLAKE2b-256 a00a73271f2633607da009aa32e72aba703e81a183a7e0ff54c73b295207d450

See more details on using hashes here.

Supported by

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