feat(git): add 'gitt' alias for new WIP git tag with optional comment'

This commit is contained in:
Victor Westerlund 2025-05-06 15:39:25 +02:00
parent 076d50ec63
commit 7d0ef47404
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -22,6 +22,8 @@ cdll () {
# Create standard git WIP commit with timestamps
alias gitw="git commit -m \"wip: $(date +%Y-%m-%dT%H:%M:%S%z) ($(date +%s))\""
# Create a git WIP tag with the current timestamp. Prompt user for tag comment.
alias gitt="git tag -a 'wip-$(date +%s)'"
# Remove dropped upstream git branches from remote
alias gitc="git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D"
# Shorthand git pull origin