{"id":16406556,"url":"https://github.com/nudin/git-split","last_synced_at":"2026-05-14T01:38:48.697Z","repository":{"id":139219832,"uuid":"354565141","full_name":"Nudin/git-split","owner":"Nudin","description":"split an arbitrary commit","archived":false,"fork":false,"pushed_at":"2021-04-04T19:53:15.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-23T21:27:07.275Z","etag":null,"topics":["git","rebase"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nudin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-04-04T14:30:32.000Z","updated_at":"2021-04-05T00:40:09.000Z","dependencies_parsed_at":"2023-07-31T05:00:47.243Z","dependency_job_id":null,"html_url":"https://github.com/Nudin/git-split","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nudin/git-split","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nudin%2Fgit-split","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nudin%2Fgit-split/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nudin%2Fgit-split/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nudin%2Fgit-split/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nudin","download_url":"https://codeload.github.com/Nudin/git-split/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nudin%2Fgit-split/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33006641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","rebase"],"created_at":"2024-10-11T06:10:17.628Z","updated_at":"2026-05-14T01:38:48.682Z","avatar_url":"https://github.com/Nudin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"git-split – split an arbitrary commit\n=====================================\n\nUse case: You want to clean up your git history before pushing it and notice that one commit contains to many (unrelated) changes.\n\nInstallation:\nPut into a directory in you PATH, for example:\n```\ncp git-split.sh ~/bin/git-split\nchmod +x ~/bin/git-split\n```\n\nUsage:\n```\ngit split [-p] [--auto-stash] \u003ccommit\u003e\n\n    -p             Split patch wise instead of file wise\n    --auto-stash   Stash and unstash changes in the current working tree\n```\n\nExample:\nSplit the commit `abc1234` into multiple commits, so that each commit edits only one file:\n```\n$ git log --oneline --stat\n3ec599e (HEAD -\u003e main) weiter3\n [...]\nabc1234 file3~2: Huge commit\n file1 | 2 +-\n file2 | 2 +-\n file3 | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)\n9d3b901 Init\n [...]\n\n$ git split abc1234\n\n$ git log --oneline\n3ec599e (HEAD -\u003e main) weiter3\n [...]\nad5687a file3: Huge commit\n file3 | 2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n55d5d31 file2: Huge commit\n file2 | 2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\nc27e7a1 file1: Huge commit\n file1 | 2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n9d3b901 Init\n [...]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnudin%2Fgit-split","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnudin%2Fgit-split","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnudin%2Fgit-split/lists"}