X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5ef458f35318f68c065add9ed414b2dd8646021e..6328d9c25dba0cccbadb09b2f9d54e4781fe8f18:/zsh/aliases/git.zsh diff --git a/zsh/aliases/git.zsh b/zsh/aliases/git.zsh index 87a708c..e8cd9f0 100644 --- a/zsh/aliases/git.zsh +++ b/zsh/aliases/git.zsh @@ -8,6 +8,7 @@ alias gl='git pull' alias gup='git pull --rebase' alias gp='git push' +alias gpf='git push --force-with-lease' alias gd='git diff' alias gdc='git diff --cached' @@ -68,7 +69,7 @@ alias gpoat='git push origin --all && git push origin --tags' # cd into the top of the current repository # or submodule. -alias grt='cd $(git rev-parse --show-toplevel || echo ".")' +alias cdr='cd $(git rev-parse --show-toplevel || echo ".")' # Git and svn mix alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'