Last active
October 13, 2023 13:41
-
-
Save farsh4d/4ac29da62ab6e7325a1cfcc505d40054 to your computer and use it in GitHub Desktop.
Bashrc Alias Commands
This file contains 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 gc="git clone" | |
alias ga="git add" | |
alias ga.="ga ." | |
alias gcm="git commit -m" | |
alias gp="git push" | |
alias gpl="git pull" | |
alias gm="git merge" | |
alias gs="git status" | |
alias gpo="gp origin" | |
alias gb="git branch" | |
alias gch="git checkout" | |
alias gd="git diff" | |
#PHP - Laravel | |
alias ps='f(){ php -S 127.0.0.1:"$@";};f' | |
alias pa="php artisan" | |
alias pamg="pa migrate" | |
alias pas="pa serve" | |
alias pat="pa tinker" | |
alias pam='f(){ php artisan make:"$@";};f' | |
alias paq='f(){ php artisan queue:"$@";};f' | |
alias pasch='f(){ php artisan schedule:"$@";};f' | |
alias pu='./vendor/bin/phpunit' | |
alias puf="clear && pu --filter" | |
#Bash | |
alias q="exit" | |
alias c="clear" | |
#Python - Django | |
alias py="python" | |
alias p="pip" | |
alias pi="p install" | |
alias dj="django-admin" | |
alias djs="dj startproject" | |
alias mpy="py manage.py" | |
alias mpymk="mpy makemigrations" | |
alias mpymg="mpy migrate" | |
alias mpys="mpy runserver" | |
alias mapp="mpy startapp" | |
#Npm [by @peymanath] | |
alias nr = "npm run" | |
alias ns = "npm start" | |
alias nb = "nr build" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#Npm
alias nr = "npm run"
alias ns = "npm start"
alias nb = "nr build"