From 6ff1583b26eca7357780aff8f5962ed040346ef5 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 7 Nov 2021 07:27:04 -0500 Subject: Added additional git aliases --- .config/shell/aliasrc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.config/shell') diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index c1a2de9..66b7f75 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -13,7 +13,19 @@ alias \ # Git alias \ g='git' \ - gd='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' + ga='git add' \ + gc='git commit -m' \ + gd='git diff' \ + gl='git log' \ + gp='git push' \ + gs='git status' \ + gdf='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME' \ + gda='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME add' \ + gdc='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME commit -m' \ + gdd='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME diff' \ + gdl='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME log' \ + gdp='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME push' \ + gds='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME status' # Shorten other commands alias \ -- cgit v1.2.3