mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
feat: add new git aliases for pull and status
This commit is contained in:
parent
bea23e4341
commit
68666ab1c7
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue