{"id":16936773,"url":"https://github.com/opcode81/git-split","last_synced_at":"2025-04-13T14:24:07.666Z","repository":{"id":146886575,"uuid":"244885427","full_name":"opcode81/git-split","owner":"opcode81","description":"a simple script for splitting the git history of a file","archived":false,"fork":false,"pushed_at":"2020-03-04T11:49:25.000Z","size":1,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T05:25:03.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opcode81.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-04T11:40:31.000Z","updated_at":"2024-08-28T12:55:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f3202db-94b2-4911-aef4-15ec63b7f5b9","html_url":"https://github.com/opcode81/git-split","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opcode81%2Fgit-split","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opcode81%2Fgit-split/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opcode81%2Fgit-split/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opcode81%2Fgit-split/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opcode81","download_url":"https://codeload.github.com/opcode81/git-split/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248725844,"owners_count":21151810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:57:51.856Z","updated_at":"2025-04-13T14:24:07.656Z","avatar_url":"https://github.com/opcode81.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-split\n**a simple script for splitting the git history of a file**\n\nAs source files grow larger, it can be desirable to split them into several more manageable files that correspond to reasonable logical units. Within a git repository, each new file should ideally retain the history of the file it was copied from.\n\nFor instance, if a file `foo.src` is to be split into `foo_bar.src` and `foo_baz.src`, we can use **git-split** to achieve this by performing the following steps:\n\n    $ sh git-split.sh foo.src foo_bar.src\n    $ git mv foo.src foo_baz.src\n\nAfter these two steps, both files will have the same history as `foo.src`, and we can start deleting the content we don't need from them.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopcode81%2Fgit-split","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopcode81%2Fgit-split","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopcode81%2Fgit-split/lists"}