Skip to content

Instantly share code, notes, and snippets.

@ernestohs
ernestohs / alias.sh
Last active January 1, 2026 21:10
how lazy I am
# BASH/ZSH ALIASES FOR THE LAZY DEVELOPER
## Git Workflow Aliases
### Push current branch to origin
alias push='git push origin $(git rev-parse --abbrev-ref HEAD)'
### Pull current branch with submodules
alias pull='git pull --recurse-submodules origin $(git rev-parse --abbrev-ref HEAD)'
### Show git status in short format
alias s="git status -s"
### Commit with message (usage: c "commit message")