From 68666ab1c7b0b49c35f243f3b25eb8f28d12e38e Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Fri, 6 Dec 2024 11:25:03 +0100 Subject: [PATCH] feat: add new git aliases for pull and status --- .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"