Skip to content

Instantly share code, notes, and snippets.

@juliobitencourt
Last active January 27, 2021 20:37
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 juliobitencourt/ec1a7a06d1b0b3b438493d37326510d9 to your computer and use it in GitHub Desktop.
Save juliobitencourt/ec1a7a06d1b0b3b438493d37326510d9 to your computer and use it in GitHub Desktop.
Some useful Git aliases for my fish profile
# 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