feat: add the aliases for git diff between the current branch and main/develop

This commit is contained in:
Willem Adnet 2026-04-10 18:11:06 +02:00
commit 333204f550
2 changed files with 8 additions and 0 deletions

View file

@ -82,6 +82,10 @@ plugins=(... git)
| `gcfu` | `git commit --fixup` |
| `gdct` | `git describe --tags $(git rev-list --tags --max-count=1)` |
| `gd` | `git diff` |
| `gdd` | `git diff $(git_develop_branch)` |
| `gdm` | `git diff $(git_main_branch)` |
| `gddn` | `git diff $(git_develop_branch) --name-only` |
| `gdmn` | `git diff $(git_main_branch) --name-only` |
| `gdca` | `git diff --cached` |
| `gdcw` | `git diff --cached --word-diff` |
| `gds` | `git diff --staged` |