mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
[bash] shortened git aliases for wip and clear (#10)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/10
This commit is contained in:
parent
bc3744f711
commit
cd486c996c
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue