From 22eedc9a66f671081fd3633880e7e4aa3e5796ea Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Fri, 6 Dec 2024 10:36:38 +0000 Subject: [PATCH] feat: add new git aliases for pull and status (#6) Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/6 --- .bash_aliases | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index b42686d..3f26c86 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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"