https://github.com/idlesign/gitfilesplit
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',
# And with subdirectories:
targets=['smaller.py', 'sub1/another.py', 'sub2/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+
Metadata
Release files for gitfilesplit 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitfilesplit-1.0.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitfilesplit-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.2 kB
Release files / gitfilesplit-1.0.0.tar.gz
| Download URL | gitfilesplit-1.0.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dc33d99177145f5b3f9a3fe65082f2d493bb5b3b0d6a5ac847c061a57867e12
|
|
BLAKE2b-256 checksum How to use checksums |
10aff41d9a33f44dfbbbcee8c6ab0d0772d0b51b832902872c577d74f5ffae71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Release files / gitfilesplit-1.0.0-py2.py3-none-any.whl
| Download URL | gitfilesplit-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f2bd3acae8ebc2146e77f30f941d27359b0d558603e0e885e7e454f5076e5cca
|
|
BLAKE2b-256 checksum How to use checksums |
a64afe296c27c9d5649ac0ef07b78b6cb43e49891815a2fbf48ddae17c995121
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|