commit f4e6c7af40d8c2c66936c15be38c460f876f195b
parent 501e72fff4b38c5c59a6c25de8fa7aa81c2e3bad
Author: awy <awy@awy.one>
Date: Sat, 31 May 2025 17:02:04 +0300
git aliases
Diffstat:
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
@@ -42,7 +42,6 @@ alias \
# These common commands are just too long! Abbreviate them.
alias \
ka="killall" \
- g="git" \
trem="transmission-remote" \
YT="youtube-viewer" \
sdn="shutdown -h now" \
@@ -52,6 +51,20 @@ alias \
z="zathura" \
md="monerod --prune-blockchain --fast-block-sync 1 --data-dir /mnt/ssd/monero/bitmonero"
+# Git related
+alias \
+ g="git" \
+ gs="git status --short" \
+ gd="git diff" \
+ ga="git add" \
+ gc="git commit" \
+ gp="git push" \
+ gu="git pull" \
+ gl="git log" \
+ gb="git branch" \
+ gi="git init" \
+ gcl="git clone"
+
alias \
magit="nvim -c MagitOnly" \
ref="shortcuts >/dev/null; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc ; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"