Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# ----------------------------
# Firebase Aliases
# ----------------------------
alias fi="firebase init"
alias fl="firebase list"
alias flogin="firebase login"
alias flogout="firebase logout"
alias fudev="firebase use --add aprldev-bc79c"
alias fuprod="firebase use --add aprl-e91e6"
fuse(){
firebase use --add "$1"
}
fdeploy(){
firebase deploy --only functions:"$1"
}
# ----------------------
# Git Aliases
# ----------------------
alias ga='git add'
alias gaa='git add .'
alias gaaa='git add --all'
alias gau='git add --update'
alias gb='git branch'
alias gbd='git branch --delete '
alias gc='git commit'
alias gcm='git commit --message'
alias gcf='git commit --fixup'
alias gco='git checkout'
alias gcob='git checkout -b'
alias gcom='git checkout master'
alias gcon='git config --list'
alias gconl='git config --local --list'
alias gcos='git checkout staging'
alias gcod='git checkout develop'
alias gd='git diff'
alias gda='git diff HEAD'
alias gi='git init'
alias glg='git log --graph --oneline --decorate --all'
alias gld='git log --pretty=format:"%h %ad %s" --date=short --all'
alias gm='git merge --no-ff'
alias gma='git merge --abort'
alias gmc='git merge --continue'
alias gp='git pull'
alias gpu='git push'
alias gpr='git pull --rebase'
alias gr='git rebase'
alias grm='git remote --v'
alias gs='git status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.