Skip to content

Instantly share code, notes, and snippets.

@SaurabhKharivale
Last active September 20, 2018 08:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SaurabhKharivale/7c7f5110ce40960d31eac81c81bc1bac to your computer and use it in GitHub Desktop.
Save SaurabhKharivale/7c7f5110ce40960d31eac81c81bc1bac to your computer and use it in GitHub Desktop.
Optimizing laravel workflow with aliases .
alias gs="git status"
alias gaa="git add ."
alias gc="git commit -m"
alias gl="git log"
alias gb="git branch"
alias gp="git push"
alias gcm="git checkout master"
alias gcb="git checkout -b"
alias dev="npm run dev"
alias hot="npm run hot"
alias watch="npm run watch"
alias jstest="npm run js-test"
alias jswatch="npm run js-watch"
alias prod="npm run prod"
alias t="./vendor/bin/phpunit"
alias al="composer dump-autoload"
alias art="php artisan"
alias cont="php artisan make:controller"
alias model="php artisan make:model"
alias mig="php artisan make:migration"
alias tf="./vendor/bin/phpunit --filter"
alias d="php artisan dusk"
alias df="php artisan dusk --filter"
alias vr="sudo setenforce 0 && valet restart"
alias upgrade="sudo dnf upgrade"
alias reload="source ~/.bash_aliases"
alias forge="ssh forge@198.199.71.218"
alias gitc="git checkout"
alias gitm="git checkout master && git merge"
alias gitd="git branch -d"
alias lambda="sam local start-api -t sam.yaml"
alias aws-package="sam package --template-file sam.yaml --s3-bucket tailwindcss-lambda --output-template-file packaged.yaml"
alias aws-deploy="sam deploy --template-file ./packaged.yaml --stack-name tailwindcss-lambda --capabilities CAPABILITY_IAM"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment