{"id":24167313,"url":"https://github.com/yunyoujun/git-geass","last_synced_at":"2025-07-17T07:03:21.856Z","repository":{"id":271104080,"uuid":"883711856","full_name":"YunYouJun/git-geass","owner":"YunYouJun","description":"🛠️ Some quick interactive actions for git.","archived":false,"fork":false,"pushed_at":"2025-05-07T08:42:09.000Z","size":785,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T21:32:43.427Z","etag":null,"topics":["actions","cli","git"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/git-geass","language":"TypeScript","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/YunYouJun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["YunYouJun"]}},"created_at":"2024-11-05T12:52:08.000Z","updated_at":"2025-05-07T08:42:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"3598381f-7452-4de6-849a-45d9dd7888c9","html_url":"https://github.com/YunYouJun/git-geass","commit_stats":null,"previous_names":["yunyoujun/git-geass"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/YunYouJun/git-geass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YunYouJun%2Fgit-geass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YunYouJun%2Fgit-geass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YunYouJun%2Fgit-geass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YunYouJun%2Fgit-geass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YunYouJun","download_url":"https://codeload.github.com/YunYouJun/git-geass/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YunYouJun%2Fgit-geass/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265575440,"owners_count":23790772,"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":["actions","cli","git"],"created_at":"2025-01-12T21:13:05.924Z","updated_at":"2025-07-17T07:03:21.843Z","avatar_url":"https://github.com/YunYouJun.png","language":"TypeScript","funding_links":["https://github.com/sponsors/YunYouJun"],"categories":[],"sub_categories":[],"readme":"# git-actions\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n[![License][license-src]][license-href]\n\nSome quick **interactive** actions for git.\n\n\u003e Its name inspired by `code-geass`.\n\n## Install\n\n```bash\npnpm i -g git-geass\n# npm i -g git-actions\n# yarn add -g git-actions\n```\n\n## Usage\n\n```bash\n# git-geass help\ngitg -h\ngit-geass -h\n```\n\n### Clean Branch\n\n\u003e 清理分支\n\n```bash\n# clean branch\ngitg clean branch\n# clean 10 days ago branch\ngitg clean branch -d 10\n# clean merged to master branch\ngitg clean branch -m master\n# clean merged to master/main branch\ngitg clean branch -m master -m main\n# clean remote branches\ngitg clean branch -r\n```\n\n### Modify Commit Date (Author Date \u0026 Committer Date)\n\n\u003e 修改历史提交日期\n\n\u003e Difference with `git commit --amend --no-edit --date=now`\n\u003e - modify author date \u0026 committer date (--date only modify author date)\n\u003e - modify with prompt to choose date\n\n```bash\ngitg amend -d\n```\n\n### Modify Commit Author\n\n\u003e 修改历史提交作者\n\n```bash\ngitg amend -a\ngitg amend --author\n\n# input author name\n# input author email\n```\n\n## [Sponsors](https://sponsors.yunyoujun.cn)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sponsors.yunyoujun.cn\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/YunYouJun/sponsors/public/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\n[MIT](./LICENSE) LICENSE @2024-PRESENT [@YunYouJun](https://github.com/YunYouJun)\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/git-geass?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[npm-version-href]: https://npmjs.com/package/git-geass\n[npm-downloads-src]: https://img.shields.io/npm/dm/git-geass?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[npm-downloads-href]: https://npmjs.com/package/git-geass\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/git-geass?style=flat\u0026colorA=080f12\u0026colorB=1fa669\u0026label=minzip\n[bundle-href]: https://bundlephobia.com/result?p=git-geass\n[license-src]: https://img.shields.io/github/license/YunYouJun/git-geass.svg?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[license-href]: https://github.com/YunYouJun/git-geass/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[jsdocs-href]: https://www.jsdocs.io/package/git-geass\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunyoujun%2Fgit-geass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunyoujun%2Fgit-geass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunyoujun%2Fgit-geass/lists"}