fix(bash): shortened git aliases for wip and clear

This commit is contained in:
Victor Westerlund 2024-12-20 12:02:57 +01:00
parent bc3744f711
commit cd93ded25d

View file

@ -21,9 +21,9 @@ cdll () {
}
# Create standard git WIP commit with timestamps
alias gitwip="git commit -m \"wip: $(date +%Y-%m-%dT%H:%M:%S%z) ($(date +%s))\""
alias gitw="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"
alias gitc="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"