Skip to content

Instantly share code, notes, and snippets.

@sorja
Created July 25, 2017 19:04
Show Gist options
  • Save sorja/38790d1b4986cf0af47a632ba699129c to your computer and use it in GitHub Desktop.
Save sorja/38790d1b4986cf0af47a632ba699129c to your computer and use it in GitHub Desktop.
Some often used bash aliases, for sync
# ...because lsd?
alias lsd='ls -d */'
alias l='ls -a'
alias gcl='git clone'
alias ga='git add'
alias grm='git rm'
alias gap='git add -p'
alias gm="git merge"
alias g='git'
alias gl='git pull'
alias gst='git status'
alias gs='git status'
alias gss='git status -s'
alias gp='git push'
alias gpo='git push origin'
alias gcount='git shortlog -sn'
alias gb='git branch'
alias gba='git branch -a'
alias gcom='git checkout master'
alias gcb='git checkout -b'
alias gd='git diff'
alias gco='git checkout'
alias gcp='git cherry-pick'
alias kc='kubectl'
alias kcc='kubectl config'
alias kcd='kc describe'
alias kcdel-all='kc get pod | cut -d " " -f1 - | xargs -n1 -P 10 kubectl delete pod'
alias fwp='filewatcher $@ "python $@"'
alias ..='cd ..'
alias ...='cd ../..'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment