Skip to content

Instantly share code, notes, and snippets.

@Antvirf
Last active May 1, 2025 01:50
Show Gist options
  • Save Antvirf/76d476c3b21335430ee6e5df6db5076f to your computer and use it in GitHub Desktop.
Save Antvirf/76d476c3b21335430ee6e5df6db5076f to your computer and use it in GitHub Desktop.
Bash Aliases and useful helpers
# Aliases
## Git
alias ga="git add"
alias gc="git commit"
alias gca="git commit --amend --no-edit"
alias gd="git diff"
alias s="git status"
alias gsc="git switch -c"
alias gp="git pull"
alias gP="git push"
alias gl="git log"
alias gundo="git reset --soft HEAD~1"
alias gsm="git switch main"
## Applications
alias tf="terraform"
alias tfa="terraform apply"
alias tfp="terraform plan"
alias tfv="terraform validate"
alias k="kubectl"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment