Skip to content

Instantly share code, notes, and snippets.

@peymanath
Forked from farsh4d/.bashrc
Last active September 18, 2023 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peymanath/79aa85f7609f2689e3b9f5d11e876149 to your computer and use it in GitHub Desktop.
Save peymanath/79aa85f7609f2689e3b9f5d11e876149 to your computer and use it in GitHub Desktop.
Bashrc Alias Commands
#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 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'
#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
alias ni="npm install" #npm Install Dependencies
alias nr="npm run" #npm run
alias ns="npm start" #npm start
alias nb="nr build" #npm run build
alias nb="nr dev" #npm run dev
#NextJS
alias nl="nr lint" #Run Eslint Cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment