Skip to content

Instantly share code, notes, and snippets.

@luisfarzati
Created March 1, 2019 20:45
Show Gist options
  • Save luisfarzati/9f56bb777bee1d814800da31beb76cf9 to your computer and use it in GitHub Desktop.
Save luisfarzati/9f56bb777bee1d814800da31beb76cf9 to your computer and use it in GitHub Desktop.
# Filesystem
alias la='ls -lah'
alias w='cd ~/w'
# Git
alias gad='git add'
alias gap='git add --patch'
alias gau='git add --update'
alias gbr='git branch'
alias gbra='git branch --all'
alias gca='git commit --amend'
alias gcm='git commit --message'
alias gco='git checkout'
alias gdi='git diff'
alias gfe='git fetch --all --prune --prune-tags --tags'
alias gpr='git pull -r'
alias glo='git log --oneline'
alias glog='git log'
alias gst='git status --short'
alias gstt='git status'
alias master='git checkout master'
# Node
alias psnode='ps aux | grep "[n]ode "'
# Docker
alias dps='docker ps'
alias dpsa='docker ps -a'
alias drm='docker rm'
alias drmall='docker rm -f `docker ps -aq`'
alias dim='docker images'
alias dima='docker images -a'
# Kubernetes
alias k='kubectl'
alias kgp='k get pods'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment