mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
feat: add the aliases for git diff between the current branch and main/develop
This commit is contained in:
parent
7c10d9839f
commit
333204f550
2 changed files with 8 additions and 0 deletions
|
|
@ -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` |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue