Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Aliases
- ## Vagrant Homestead
- ### Up - `vup`
- ```bash
- alias vup="clear ; cd ~/Homestead; vagrant up ; vagrant ssh -- -t 'cd code ; /bin/bash'"
- ```
- ### Reprovision - `vrep`
- ```bash
- alias vrep="clear ; cd ~/Homestead; vagrant reload --provision ; vagrant ssh -- -t 'cd code ; /bin/bash'"
- ```
- ## Git
- ```bash
- alias gitclean="git branch | grep -v "master" | xargs git branch -d"
- alias gitprune="git remote prune origin"
- alias gitpull="git pull origin master"
- alias gitpush="source ~/.zshrc ; git push origin $(git rev-parse --abbrev-ref HEAD)"
- alias gitupdate="git checkout master ; gitpull ; gitclean ; gitprune"
- alias giit="git status"
- alias githome="git checkout master"
- ```
Add Comment
Please, Sign In to add comment