Created
October 1, 2022 23:23
-
-
Save lepikhinb/62102fa27400ea980f77c70d6567e726 to your computer and use it in GitHub Desktop.
Bash aliases for common commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git | |
alias wip="git add .; git commit -m 'wip'" | |
alias push="git push" | |
# PHP | |
alias c="composer" | |
alias pest='./vendor/bin/pest' | |
alias pint='./vendor/bin/pint' | |
alias stan='./vendor/bin/phpstan' | |
# Artisan | |
alias a="php artisan" | |
alias am="php artisan migrate" | |
alias amf="php artisan migrate:fresh" | |
alias amfs="php artisan migrate:fresh --seed" | |
# Set up a project you just cloned ;) | |
alias prepare='cp .env.example .env; touch database/database.sqlite; composer install; php artisan key:generate; php artisan migrate:fresh --seed; npm install; npm run build' | |
# NPM | |
alias n="npm" | |
alias nrd="npm run dev" | |
alias nrb="npm run build" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment