From: martin f. krafft Date: Thu, 3 Feb 2022 06:15:52 +0000 (+0100) Subject: git aliases X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/bb3673a748508fa608af0f5cdff13bcdbedd8e32?hp=2188fcdf52262cc8ed492d9ad439e6ca91f5e9ca git aliases --- diff --git a/.zsh/zshrc/85-git b/.zsh/zshrc/85-git index d60ce99..d4023d8 100644 --- a/.zsh/zshrc/85-git +++ b/.zsh/zshrc/85-git @@ -18,6 +18,10 @@ alias gd='g diff' alias gg='g pull' alias gr='g rebase' alias gp='g push' +alias gap='g add -p' +alias gac='gap && gc' +alias gh='g stash' +alias ghp='g stash pop' function gtestfile() { local fname="${1:-$(tempfile -d ${PWD})}"