Skip to content

Instantly share code, notes, and snippets.

View mbcorona's full-sized avatar

Bruno Corona mbcorona

View GitHub Profile
@ernestohs
ernestohs / alias.sh
Last active December 27, 2023 19:21
how lazy I am
alias push='git push origin $(git rev-parse --abbrev-ref HEAD)'
alias pull='git pull --recurse-submodules origin $(git rev-parse --abbrev-ref HEAD)'
alias s="git status -s"
alias c="git commit -m "
alias a='git add . && git status -s'
alias l='git log --oneline --all --graph --decorate'
alias gb='git fetch && git checkout '
alias undo='git checkout --'
alias reset='git reset --hard HEAD~1'
alias clean='git clean -dnx'