this post was submitted on 12 Dec 2023
807 points (99.0% liked)
Programmer Humor
19564 readers
1261 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Highly recommend throwing
--patch
on any git commands you're used to using. You will have the prettiest, most atomic fkn commit, I'm serious people will love you for it.I mean many people won't care, but the quality folk will notice and approve.
Or just use a good IDE that makes doing atomic commits pretty natural.
I've only tried the VS code hunk stager thing, and found it cumbersome compared to command line, but if you can make a GUI work for you ya go for it. I've never found it worth the trouble personally
Shout out to Lazygit for letting me stage individual lines
Looks pretty neat. I like that it shows the commands it's issuing!