feat: add new git aliases for pull and status (#6)

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/6
This commit is contained in:
Victor Westerlund 2024-12-06 10:36:38 +00:00
parent bea23e4341
commit 22eedc9a66

View file

@ -20,9 +20,12 @@ cdll () {
# Create standard git WIP commit with timestamps
alias gitwip="git commit -m \"wip: $(date +%Y-%m-%dT%H:%M:%S%z) ($(date +%s))\""
# Remove dropped upstream git branches from remote
alias gitclear="git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D"
# Shorthand git pull origin
alias gitp="git pull origin"
# Shorthand git status"
alias gits="git status"
# Generate random 16byte HEX
alias rng16="head -c 16 /dev/random | xxd -p"