diff options
author | Sam Chudnick <sam@chudnick.com> | 2021-11-07 07:27:04 -0500 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2021-11-07 07:27:04 -0500 |
commit | 6ff1583b26eca7357780aff8f5962ed040346ef5 (patch) | |
tree | 0c2eb67cefb3d372bbcdb5cfe2e6af9185888779 /.config/shell/aliasrc | |
parent | 5868b14fbbc77daf00a4b3bd95518d00905ab34d (diff) |
Added additional git aliases
Diffstat (limited to '.config/shell/aliasrc')
-rw-r--r-- | .config/shell/aliasrc | 14 |
1 files changed, 13 insertions, 1 deletions
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 \ | |||
13 | # Git | 13 | # Git |
14 | alias \ | 14 | alias \ |
15 | g='git' \ | 15 | g='git' \ |
16 | gd='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' | 16 | ga='git add' \ |
17 | gc='git commit -m' \ | ||
18 | gd='git diff' \ | ||
19 | gl='git log' \ | ||
20 | gp='git push' \ | ||
21 | gs='git status' \ | ||
22 | gdf='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME' \ | ||
23 | gda='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME add' \ | ||
24 | gdc='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME commit -m' \ | ||
25 | gdd='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME diff' \ | ||
26 | gdl='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME log' \ | ||
27 | gdp='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME push' \ | ||
28 | gds='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME status' | ||
17 | 29 | ||
18 | # Shorten other commands | 30 | # Shorten other commands |
19 | alias \ | 31 | alias \ |