From bb3673a748508fa608af0f5cdff13bcdbedd8e32 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 3 Feb 2022 07:15:52 +0100 Subject: [PATCH 1/1] git aliases --- .zsh/zshrc/85-git | 4 ++++ 1 file changed, 4 insertions(+) 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})}" -- 2.39.5