Skip to content

Instantly share code, notes, and snippets.

@IsmailShurrab
Forked from BashirShallah/my aliases
Created March 17, 2020 20:45
Show Gist options
  • Save IsmailShurrab/5a717998569b6dd581f233a49e366ef4 to your computer and use it in GitHub Desktop.
Save IsmailShurrab/5a717998569b6dd581f233a49e366ef4 to your computer and use it in GitHub Desktop.
# git
alias g="git"
alias gs="git status"
alias ga="git add ."
alias gc="git commit -m"
alias gn="git init && git add . && git commit -m \"init\""
# laravel
alias pa="php artisan"
alias l="php artisan serve"
alias lmf="php artisan migrate:fresh --seed"
alias pt="vendor/bin/phpunit --testdox --stop-on-failure"
alias ptf="vendor/bin/phpunit --testdox --stop-on-failure --filter"
alias tinker="pa tinker"
# react native
alias rr="react-native run-android"
alias rn="react-native"
alias rns="react-native start --reset-cache"
alias rrr="rr --variant=release"
alias rnbundle="cd android && ./gradlew bundleRelease && cd .."
alias rnc="cd android && ./gradlew clean && cd .."
# flutter
alias f="flutter"
alias fd="flutter doctor"
alias fr="flutter run"
# yarn
alias y="yarn"
alias yt="yarn test"
alias ya="yarn add"
# other
alias c=clear
alias sd="start ."
alias ll='ls -lah'
alias ..='cd ..'
alias bash='/git-bash.exe &'
alias b='bash'
alias upalias="source ~/.bashrc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment