Add vagrant and git aliases

This commit is contained in:
Kris Lamoureux 2022-05-23 22:59:56 -04:00
parent c7076e1064
commit 58b60cb5eb
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 9 additions and 2 deletions

View File

@ -30,9 +30,10 @@ alias 'shutdown'='sudo shutdown'
alias df='df -x squashfs -x tmpfs -x devtmpfs'
# Vagrant shortcuts
alias 'vdup'='vagrant destroy -f && vagrant up'
alias 'vdup'='vagrant destroy -f && vagrant up --no-destroy-on-error'
alias 'vpro'='vagrant provision'
alias 'vssh'='ssh-add && vagrant ssh -c "sudo -i"'
alias 'vssh'='ssh-add && vagrant ssh'
alias 'vsshr'='ssh-add && vagrant ssh -c "sudo -i"'
alias 'vup'='vagrant up'
alias 'vhalt'='vagrant halt'
@ -59,6 +60,10 @@ alias 'tcommit'='git commit -m "testing"'
alias 'tamend'='git commit --amend --no-edit --date "`date -R`"'
alias 'amend'='git commit -S --amend'
alias 'amendnew'='git commit -S --amend --date "`date -R`"'
alias 'giturl'='git remote set-url'
alias 'setorigin'='git remote set-url origin'
alias 'origin'='git remote show origin'
alias 'remote'='git remote'
alias 'fetch'='git fetch'
alias 'stash'='git stash'
alias 'resetb'='git reset --hard @{u}'

View File

@ -3,3 +3,5 @@
[include]
path = ~/.gitconfig_other
[init]
defaultBranch = main