{"id":18034358,"url":"https://github.com/johansatge/git-exporter","last_synced_at":"2026-04-24T11:36:14.853Z","repository":{"id":12776264,"uuid":"15449764","full_name":"johansatge/git-exporter","owner":"johansatge","description":"A PHP CLI tool designed to export commits from a Git repository.","archived":false,"fork":false,"pushed_at":"2015-08-17T11:40:51.000Z","size":453,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T11:51:07.404Z","etag":null,"topics":["commits","export","git"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johansatge.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}},"created_at":"2013-12-26T09:26:31.000Z","updated_at":"2019-11-08T18:00:49.000Z","dependencies_parsed_at":"2022-09-01T10:10:55.694Z","dependency_job_id":null,"html_url":"https://github.com/johansatge/git-exporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/johansatge/git-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johansatge%2Fgit-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johansatge%2Fgit-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johansatge%2Fgit-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johansatge%2Fgit-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johansatge","download_url":"https://codeload.github.com/johansatge/git-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johansatge%2Fgit-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32221915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["commits","export","git"],"created_at":"2024-10-30T11:11:04.865Z","updated_at":"2026-04-24T11:36:14.838Z","avatar_url":"https://github.com/johansatge.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Git Exporter](logo.png)\n\nA PHP CLI tool designed to export commits from a Git repository.\n\n---\n\n* [Installation](#installation)\n* [Usage](#usage)\n* [Changelog](#changelog)\n* [License](#license)\n\n## Installation\n\nCheckout the project or download the tool directly from Github:\n\n```bash\ncurl https://raw.githubusercontent.com/johansatge/git-exporter/v0.2.0/GitExporter.php \u003e gitexporter\nchmod +x gitexporter\nsudo mv gitexporter /usr/local/bin\n```\n\n## Usage\n\n### Check the installation\n\n```bash\ngitexporter --version\n\u003e GitExporter version 0.2.0\n```\n\n### Export the changes between two commits\n\n```bash\ncd /path/to/some-git-repository\ngitexporter diff 07840746ad77cbbfc580413eea46de19387f7ef0 HEAD\n```\n\nThis will export all modified files between `0784074` (non-inclusive) and `HEAD` (inclusive) in a `.export` directory, in the root of the project.\n\nThe directory will also contain a `_changelog.txt` file with the list of the modified and deleted files.\n\n### Specify an output directory\n\n```bash\ncd /path/to/some-git-repository\ngitexporter diff 07840746ad77cbbfc580413eea46de19387f7ef0 HEAD --dir=some-export-dir\n```\n\nThis will create the `some-export-dir` directory in the root of the Git project.\n\n## Changelog\n\n| Version | Date | Notes |\n| --- | --- | --- |\n| `0.2.0` | January 04th, 2015 | Adds a shebang and make installation more simple |\n| `0.1.1` | July 25th, 2014 | Refactors calls to count(), adds the makeDirTreeForFile() function |\n| `0.1` | January 21th, 2014 | Initial version |\n\n## License\n\nThis project is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohansatge%2Fgit-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohansatge%2Fgit-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohansatge%2Fgit-exporter/lists"}