https://github.com/yunyoujun/git-geass
🛠️ Some quick interactive actions for git.
https://github.com/yunyoujun/git-geass
actions cli git
Last synced: 11 months ago
JSON representation
🛠️ Some quick interactive actions for git.
- Host: GitHub
- URL: https://github.com/yunyoujun/git-geass
- Owner: YunYouJun
- License: mit
- Created: 2024-11-05T12:52:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-07T08:42:09.000Z (about 1 year ago)
- Last Synced: 2025-07-13T21:32:43.427Z (11 months ago)
- Topics: actions, cli, git
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/git-geass
- Size: 767 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# git-actions
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]
[![License][license-src]][license-href]
Some quick **interactive** actions for git.
> Its name inspired by `code-geass`.
## Install
```bash
pnpm i -g git-geass
# npm i -g git-actions
# yarn add -g git-actions
```
## Usage
```bash
# git-geass help
gitg -h
git-geass -h
```
### Clean Branch
> 清理分支
```bash
# clean branch
gitg clean branch
# clean 10 days ago branch
gitg clean branch -d 10
# clean merged to master branch
gitg clean branch -m master
# clean merged to master/main branch
gitg clean branch -m master -m main
# clean remote branches
gitg clean branch -r
```
### Modify Commit Date (Author Date & Committer Date)
> 修改历史提交日期
> Difference with `git commit --amend --no-edit --date=now`
> - modify author date & committer date (--date only modify author date)
> - modify with prompt to choose date
```bash
gitg amend -d
```
### Modify Commit Author
> 修改历史提交作者
```bash
gitg amend -a
gitg amend --author
# input author name
# input author email
```
## [Sponsors](https://sponsors.yunyoujun.cn)
## License
[MIT](./LICENSE) LICENSE @2024-PRESENT [@YunYouJun](https://github.com/YunYouJun)
[npm-version-src]: https://img.shields.io/npm/v/git-geass?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/git-geass
[npm-downloads-src]: https://img.shields.io/npm/dm/git-geass?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/git-geass
[bundle-src]: https://img.shields.io/bundlephobia/minzip/git-geass?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=git-geass
[license-src]: https://img.shields.io/github/license/YunYouJun/git-geass.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/YunYouJun/git-geass/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/git-geass