From 852cc4a9c8dac3d2a6afd139fee69a81f838db41 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 1 Aug 2022 10:36:06 -0700 Subject: feat(wpcarro/fish): Support more git aliases These have passed the test of time. Change-Id: I9ae2cfe0b29b0e63f9e98f158840bd0e5ba53bed Reviewed-on: https://cl.tvl.fyi/c/depot/+/6019 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/dotfiles/config.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/wpcarro/dotfiles/config.fish b/users/wpcarro/dotfiles/config.fish index 9d91b0086f8c..825fa9d3a162 100644 --- a/users/wpcarro/dotfiles/config.fish +++ b/users/wpcarro/dotfiles/config.fish @@ -7,7 +7,9 @@ alias tpr 'tput reset' alias ls 'exa --sort=type' alias ll 'exa --long --sort=type' alias la 'exa --long --all --sort=type' +alias gcan 'git commit --amend --no-edit' alias gd 'git diff' +alias gds 'git diff --staged' alias glp 'git log --pretty --oneline --graph' alias gpf 'git push --force-with-lease' alias gsh 'git show HEAD' -- cgit 1.4.1