Skip to content

Instantly share code, notes, and snippets.

View unional's full-sized avatar
🏎️
just-web!!!

Homa Wong unional

🏎️
just-web!!!
View GitHub Profile
@unional
unional / .gitconfig
Created January 13, 2024 21:01
My typical git config
[alias]
lo = log --oneline
# Push upstream
pu = push -u origin HEAD
co = checkout
# Purge branches deleted in remote (e.g. in GitHub)
pb = !git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D
[pull]
rebase = true
[core]