Last active
January 27, 2021 20:37
-
-
Save juliobitencourt/ec1a7a06d1b0b3b438493d37326510d9 to your computer and use it in GitHub Desktop.
Some useful Git aliases for my fish profile
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 | |
alias gaa="git add ." | |
alias gc="git commit" | |
alias gcm="git checkout master" | |
alias gs="git status -s" | |
alias gpl="git pull" | |
alias gps="git push" | |
alias gf="git fetch" | |
alias glog='git log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate' | |
alias glogf="glog --numstat" | |
alias gdiff="git diff --cached HEAD^" | |
# Laravel | |
alias pa="php artisan" | |
alias pat="pa tinker" | |
alias pats="pa test" | |
alias pam="pa migrate" | |
alias pamf="pa migrate:fresh" | |
# Laravel Sail | |
alias sail="bash vendor/bin/sail" | |
alias sa="sail artisan" | |
alias sat="sa tinker" | |
alias sam="sa migrate" | |
alias samf="sa migrate:fresh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment