chore: Add git and Kubernetes aliases

This commit is contained in:
Simon Larsen 2024-07-10 12:12:46 +01:00
parent 6911cf59f4
commit e1f4cc22ac
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -7,8 +7,28 @@ mkcdir ()
cd -P -- "$1" cd -P -- "$1"
} }
# Git aliases
alias g="git" alias g="git"
alias gs="git status"
alias ga="git add"
alias gc="git checkout"
alias gb="git branch"
alias gp="git pull"
alias gpo="git push origin"
alias gl="git log"
alias gd="git diff"
alias gm="git merge"
# Kubernetes aliases
alias k="kubectl" alias k="kubectl"
alias kg="kubectl get"
alias kd="kubectl describe"
alias kc="kubectl create"
alias kdel="kubectl delete"
alias klo="kubectl logs"
alias klof="kubectl logs -f"
alias kex="kubectl exec"
alias kexi="kubectl exec -it"
# Docker aliases # Docker aliases
alias d="docker" alias d="docker"