Created
May 29, 2018 02:36
-
-
Save manshu/038ece5d3a5508779d37f2aa3ae0eee0 to your computer and use it in GitHub Desktop.
Aliases
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
alias al="cat ~/.alias" | |
alias pa="php artisan" | |
alias pad="php artisan dusk" | |
alias pam="php artisan migrate" | |
alias pas="php artisan serve" | |
alias dump="php artisan dump" | |
alias t="phpunit" | |
alias pf="p --filter" | |
alias cv="pa view:clear && pa config:clear && pa cache:clear" | |
alias cl="clear" | |
alias sh="exec $SHELL" | |
# Generators Package | |
alias g:c="php artisan generate:controller" | |
alias g:m="php artisan generate:model" | |
alias g:v="php artisan generate:view" | |
alias g:mig="php artisan generate:migration" | |
alias g:t="php artisan generate:test" | |
alias g:r="php artisan generate:resource" | |
alias g:s="php artisan generate:scaffold" | |
alias g:f="php artisan generate:form" | |
#Test | |
alias p="vendor/bin/phpunit" | |
alias pl="p --exclude-group integration" | |
alias nah="git reset --hard && git clean -df" | |
# Git | |
alias ga="git add" | |
alias gaa="git add ." | |
alias gc="git commit -m" | |
alias gs="git status" | |
alias gl="git log" | |
alias nah="git reset HEAD --hard && git clean -fd" | |
alias yr="yarn run" | |
alias yrw="yarn run watch" | |
alias yi="yarn install" | |
alias ya='echo "Package Ka Naam Bata Sale: " && read MSG && yarn add "$MSG"' | |
alias ga='echo "Commit Ka Naam Bol Chal : " && read MSG && git add . && git commit -m "$MSG"' | |
alias gp='echo "Push Ke Pehle Commitment Dene Ka : " && read MSG && git add . && git commit -m "$MSG" && git push origin master' | |
alias code='echo "Kahan Jana Hai Mere Aaka : " && read DIR && cd ~/Documents/Code/"$DIR"' | |
alias pm="php artisan migrate:fresh --seed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment