mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
feat(git): add 'gitt' alias for new WIP git tag with optional comment'
This commit is contained in:
parent
076d50ec63
commit
7d0ef47404
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue