Note to Self: Git Aliases

These are the aliases you should always have in "${HOME}/.gitconfig":

[alias]
	tidy  = !git branch | grep -vE "^\*| master$| main$" | xargs -r git branch -D
	brief = !git log --oneline | head

Annoying that "git fetch --prune" doesn't clean up local branches, but whatever.

-- CC0 ew0k, 2023-03-13

Proxy Information
Original URL
gemini://warmedal.se/~bjorn/posts/2023-03-13-note-to-self-git-aliases.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
107.431496 milliseconds
Gemini-to-HTML Time
0.173356 milliseconds

This content has been proxied by September (ba2dc).