Skip to content

Instantly share code, notes, and snippets.

@BashirShallah
Last active April 23, 2020 19:41
Show Gist options
  • Save BashirShallah/7c4c1a35ddb878b5cd3fbcfae51ec904 to your computer and use it in GitHub Desktop.
Save BashirShallah/7c4c1a35ddb878b5cd3fbcfae51ec904 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 rnb="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"
@achrafmontage
Copy link

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment