20

I found a few helpful git tips and tricks at work the other day, so I figured I might share them.

top 4 comments
sorted by: hot top controversial new old
[-] hello_hello@hexbear.net 3 points 18 hours ago

Nearly all of these are symptoms of CLI git being a registered torture method.

I would never be able to use git without a porcelain like magit.

registered torture method

The correct term is "enhanced version control"

[-] CarbonConscious@hexbear.net 5 points 1 day ago

So this is ohshitgit.com but for feds? And with less swears, I guess.

Yeah. I just thought the CIA git tutorial was amusing. I did add aliases forgit branch --merged origin/master | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d and !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort though

this post was submitted on 20 Feb 2026
20 points (100.0% liked)

technology

24254 readers
383 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS