feat(git-commit): add `wip` kind (#12188)

master
Rejman Nascimento 2 years ago committed by GitHub
parent e195c7cb43
commit 4efad7ab1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      plugins/git-commit/README.md
  2. 1
      plugins/git-commit/git-commit.plugin.zsh

@ -29,8 +29,9 @@ Where `type` is one of the following:
- `rev`
- `style`
- `test`
- `wip`
> NOTE: the alias for `revert` type is `rev`, as otherwise it conflicts with the git command of the same name.
> NOTE: the alias for `revert` type is `rev`, as otherwise it conflicts with the git command of the same name.
> It will still generate a commit message in the format `revert: <message>`
## Examples
@ -38,5 +39,6 @@ Where `type` is one of the following:
| Git alias | Command |
| --------------------------------------------- | ---------------------------------------------------- |
| `git style "remove trailing whitespace"` | `git commit -m "style: remove trailing whitespace"` |
| `git wip "work in progress"` | `git commit -m "work in progress"` |
| `git fix -s "router" "correct redirect link"` | `git commit -m "fix(router): correct redirect link"` |
| `git rev -s "api" "rollback v2"` | `git commit -m "revert(api): rollback v2"` |

@ -11,6 +11,7 @@ _git_commit_aliases=(
'revert'
'style'
'test'
'wip'
)
local alias type

Loading…
Cancel
Save