{"id":15649938,"url":"https://github.com/book/git-editor","last_synced_at":"2026-06-15T20:31:05.273Z","repository":{"id":1189437,"uuid":"1092796","full_name":"book/Git-Editor","owner":"book","description":"Edit and regenerate a Git repository with very little code","archived":false,"fork":false,"pushed_at":"2011-02-01T19:30:32.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-16T15:56:24.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://search.cpan.org/dist/Git-Editor/","language":"Perl","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/book.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-18T20:36:04.000Z","updated_at":"2014-09-08T21:33:29.000Z","dependencies_parsed_at":"2022-07-25T20:00:29.361Z","dependency_job_id":null,"html_url":"https://github.com/book/Git-Editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/book/Git-Editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/book%2FGit-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/book%2FGit-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/book%2FGit-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/book%2FGit-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/book","download_url":"https://codeload.github.com/book/Git-Editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/book%2FGit-Editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34379915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-03T12:32:37.598Z","updated_at":"2026-06-15T20:31:05.235Z","avatar_url":"https://github.com/book.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"Git-Editor\n\n\"Git::Editor\" provides the tools to create an editor for a Git\nrepository.\n\nObjects in the Git object database are uniquely identified by their\nSHA-1 hash. It's not technically possible to modify an object, as the\nhash of the modified object will be different from the original hash,\nthus creating a new and different object.\n\nHowever, to the casual user, the unique relationship between a commit\nobject and its id is largely irrelevant. When someone makes a typo in a\ncommit message, \"git commit --amend\" allows to modify the most recent\ncommit (of course, the truth is that a new commit object is created and\nthe current branch is simply made to points to the newly created\ncommit).\n\nIf the commit having a typo is already the parent of several other\ncommits, simply creating a new, modified commit is not enough, as the\nchildren of the original commit will still point to it. When doing such\nmodifications, one wants to preserve the \"identity\" of the original\ncommit, and therefore modify (or rather, re-create) all commits that\ndirectly or indirectly depend on it, and not keep any reference to\nthem.\n\n\"Git::Editor\" lets one assemble modification rules (\"apply this code to\nevery commit matching these conditions\") and apply them on a list of\ncommits (obtained through \"git rev-list\"). All descendant commits (in\nthe provided commit list) will be rewritten to point to the newly\ncreated commits.\n\nThe included git-editor program is the recommended tool to edit a Git\nrepository (rather than rolling your own using Git::Editor\u003e directly).\n\n\n\nINSTALLATION\n\nTo install this module, run the following commands:\n\n\tperl Makefile.PL\n\tmake\n\tmake test\n\tmake install\n\nAlternatively, to install with Module::Build, you can use the following commands:\n\n\tperl Build.PL\n\t./Build\n\t./Build test\n\t./Build install\n\nSUPPORT AND DOCUMENTATION\n\nAfter installing, you can find documentation for this module with the\nperldoc command.\n\n    perldoc Git::Editor\n\nYou can also look for information at:\n\n    RT, CPAN's request tracker\n        http://rt.cpan.org/NoAuth/Bugs.html?Dist=Git-Editor\n\n    AnnoCPAN, Annotated CPAN documentation\n        http://annocpan.org/dist/Git-Editor\n\n    CPAN Ratings\n        http://cpanratings.perl.org/d/Git-Editor\n\n    Search CPAN\n        http://search.cpan.org/dist/Git-Editor/\n\n\nLICENSE AND COPYRIGHT\n\nCopyright (C) 2010 Philippe Bruhat (BooK)\n\nThis program is free software; you can redistribute it and/or modify it\nunder the terms of either: the GNU General Public License as published\nby the Free Software Foundation; or the Artistic License.\n\nSee http://dev.perl.org/licenses/ for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbook%2Fgit-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbook%2Fgit-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbook%2Fgit-editor/lists"}