git-geass
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

git-actions

npm version npm downloads bundle JSDocs License

Some quick interactive actions for git.

Its name inspired by code-geass.

Install

pnpm i -g git-geass
# npm i -g git-actions
# yarn add -g git-actions

Usage

# git-geass help
gitg -h
git-geass -h

Clean Branch

清理分支

# 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
gitg amend -d

Modify Commit Author

修改历史提交作者

gitg amend -a
gitg amend --author

# input author name
# input author email

License

MIT LICENSE @2024-PRESENT @YunYouJun

Readme

Keywords

none

Package Sidebar

Install

npm i git-geass

Weekly Downloads

5

Version

0.1.5

License

MIT

Unpacked Size

22.4 kB

Total Files

8

Last publish

Collaborators

  • yunyoujun