Added new shortcut for git

This commit is contained in:
Marcin Woźniak 2023-01-28 00:12:13 +01:00
parent d0edf7c273
commit f14cc4889c
Signed by: y0rune
GPG Key ID: F204C385F57EB348

2
.zshrc
View File

@ -108,6 +108,8 @@ alias gdel="git push origin --delete"
alias gadd="git add"
alias gpush="git push"
alias gpull="git fetch -p -q; git pull; git submodule foreach git pull origin master -q; git submodule foreach git pull origin main -q; git submodule status"
alias gpu="git fetch -p -q; git pull; git submodule foreach git pull origin master -q; git submodule foreach git pull origin main -q; git submodule status"
alias gch="git checkout"
alias gstatus="git status -s"
alias gst="git status -s"
alias gdiff="git diff | cat"