Add vagrant and git aliases
This commit is contained in:
parent
c7076e1064
commit
58b60cb5eb
@ -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}'
|
||||
|
@ -3,3 +3,5 @@
|
||||
|
||||
[include]
|
||||
path = ~/.gitconfig_other
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
Loading…
Reference in New Issue
Block a user