]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/aliases/git.zsh
xinitrc: initial commit
[dotfiles.git] / zsh / aliases / git.zsh
index 87a708c4db3b285f36035fcae61e6fc1b7dad6a3..e8cd9f09690cd3f30fe6e840066ec283b89f4b88 100644 (file)
@@ -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'