1
0
Fork 0

bash: can't believe I didn't have git aliases

This commit is contained in:
Pratham Patel 2024-01-12 18:28:16 +05:30
parent d99559ca3a
commit 1962a7410c
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,13 @@ alias sudo='sudo '
alias unxz='unxz --keep' # override 'unxz' with this to always keep the archive
alias update="source ${HOME}/.bashrc"
# git
alias gadd='git add'
alias gdiff='git --no-pager diff'
alias gsdiff='git --no-pager diff --staged'
alias gstat='git status'
alias gwt='git worktree'
# rsync
alias custcp="rsync ${RSYNC_OPTIONS}"
alias fcustcp="rsync --fsync ${RSYNC_OPTIONS}"