vault backup: 2023-11-04 12:39:14
This commit is contained in:
parent
be412ae489
commit
ce4f2b7843
6
.bashrc
6
.bashrc
@ -113,12 +113,8 @@ 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"'
|
||||
vc() {
|
||||
git add .
|
||||
git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")"
|
||||
}
|
||||
alias cj='cd ~/storage/shared/Documents/journal/'
|
||||
alias jr='cd ~/storage/shared/Documents/journal/ && git pull && vc && cd -'
|
||||
alias jr='cd ~/storage/shared/Documents/journal/ && git pull && vc && git push && cd -'
|
||||
alias hc='cd ~/storage/shared/Documents/hc_notes/ && git pull && git push && cd -'
|
||||
|
||||
# Add an "alert" alias for long running commands. Use like so:
|
||||
|
Loading…
Reference in New Issue
Block a user