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

@ -205,6 +205,10 @@ alias gcf='git config --list'
alias gcfu='git commit --fixup'
alias gdct='git describe --tags $(git rev-list --tags --max-count=1)'
alias gd='git diff'
alias gdd='git diff $(git_develop_branch)'
alias gdm='git diff $(git_main_branch)'
alias gddn='git diff $(git_develop_branch) --name-only'
alias gdmn='git diff $(git_main_branch) --name-only'
alias gdca='git diff --cached'
alias gdcw='git diff --cached --word-diff'
alias gds='git diff --staged'