From 57f9ed7a8fc80250bae6c6d0b48d68b64a677563 Mon Sep 17 00:00:00 2001 From: sev Date: Mon, 16 Sep 2024 08:49:28 -0500 Subject: [PATCH 1/1] zshrc: update git aliases --- etc/zsh/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index ab3d7ef..46c1992 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -276,14 +276,20 @@ alias svu="sudo python3 -mvenv --upgrade" alias g=git alias gd='git diff' alias gdh='git diff HEAD' +alias gds='git diff --staged' alias ga='git add' alias ga.='git add .' +alias gai='git add -i' +alias gap='git add -p' alias gc='git commit' alias gca='git commit --amend' alias gp='git push' alias gu='git pull' alias gl='git log' alias gt='git tree' # from gitconfig +alias gs='git show' +alias gst='git stash' +alias gsp='git stash pop' ## cd/zoxide function up { \cd $(printf '../%.0s' {1..${1:-1}}) -- 2.47.0