X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/614b66e8cb6511504243046ba1ecdce7ea5db487..9dba7bc2e27b18c598387ab991c6670ed3d14760:/zsh/aliases/git.zsh diff --git a/zsh/aliases/git.zsh b/zsh/aliases/git.zsh index 1e6c91e..50bf5cb 100644 --- a/zsh/aliases/git.zsh +++ b/zsh/aliases/git.zsh @@ -14,6 +14,8 @@ alias gd='git diff' alias gdc='git diff --cached' function gdm { gd "${1:-origin}".. } compdef _git gdm=git-diff +function gdf { gd $(git merge-base --fork-point $1) } +compdef _git gdf=git-diff alias gc='git commit -v' alias gcs='git commit -v --squash'