Created
April 14, 2017 06:19
-
-
Save igorbabko/ffcb54cdb03aaf5199e0985c03c15ba3 to your computer and use it in GitHub Desktop.
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
# Git aliases | |
alias gs="git status" | |
alias ga="git add" | |
alias gaa="git add ." | |
alias gc="git commit" | |
alias gp="git push" | |
alias gpl="git pull" | |
alias gcm="git commit -m" | |
alias gl="git log" | |
alias gr="git reset" | |
alias gcl="git clone" | |
alias nah="git reset --hard && git clean -df" | |
alias wip="git add . && git commit -m 'WIP'" | |
alias wipa="git add . && git commit --amend -m 'WIP'" | |
# Laravel aliases | |
alias tinker="php artisan tinker" | |
alias routes="php artisan route:list" | |
alias art="php artisan" | |
alias serve="php artisan serve" | |
alias migrate="php artisan migrate" | |
alias seed="php artisan db:seed" | |
alias db="php artisan migrate:refresh --seed" | |
alias auth="php artisan make:auth" | |
alias m="php artisan migrate:refresh --seed" | |
alias controller="php artisan make:controller" | |
alias model="php artisan make:model" | |
alias seeder="php artisan make:seeder" | |
alias migration="php artisan make:migration" | |
alias provider="php artisan make:provider" |
Do u have any snippet for phpstorm
Hi @chisumo2016
You need to add them to ~/.bashrc
file and then run source ~/.bashrc
to reload the file.
Found this on google, thankyou!
Love the idea of wip
Hey @chisumo2016
Sorry, somehow I've missed the discussion under this gist.
Apparently you've resolved everything already. Are there still some questions that you'd like to ask?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do u create an alias?