vault backup: 2023-09-18 14:15:45
This commit is contained in:
parent
a71abc3962
commit
c6f5a7f87d
8
.bashrc
8
.bashrc
@ -108,7 +108,13 @@ alias gr='git reset HEAD'
|
||||
alias gc='git commit -v'
|
||||
alias gd='git difftool'
|
||||
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:
|
||||
# sleep 10; alert
|
||||
|
Loading…
Reference in New Issue
Block a user