about summary refs log tree commit diff
path: root/users/wpcarro/dotfiles
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-08-01T17·36-0700
committerclbot <clbot@tvl.fyi>2022-08-01T17·39+0000
commit852cc4a9c8dac3d2a6afd139fee69a81f838db41 (patch)
treed8678a036b1c35ba2cdbefe06158ecf0afaec4b6 /users/wpcarro/dotfiles
parent6882b9575865c407d22386da065a370fdbc80396 (diff)
feat(wpcarro/fish): Support more git aliases r/4364
These have passed the test of time.

Change-Id: I9ae2cfe0b29b0e63f9e98f158840bd0e5ba53bed
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6019
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/dotfiles')
-rw-r--r--users/wpcarro/dotfiles/config.fish2
1 files changed, 2 insertions, 0 deletions
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'