vault backup: 2023-09-18 14:15:45

This commit is contained in:
Paul Trowbridge 2023-09-18 14:15:45 -04:00
parent a71abc3962
commit c6f5a7f87d

View File

@ -108,7 +108,13 @@ alias gr='git reset HEAD'
alias gc='git commit -v' alias gc='git commit -v'
alias gd='git difftool' alias gd='git difftool'
alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"' alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"'
alias vc='git add . -- && git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S") && git push"' #alias vc='git add . -- && git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S") && git push"'
vc() {
git add .
git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")"
git push
}
# Add an "alert" alias for long running commands. Use like so: # Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert # sleep 10; alert