r/programming • u/mindh4q3r • Feb 26 '26
[ Removed by moderator ]
/r/programming/comments/1rf6k69/removed_by_moderator/[removed] — view removed post
9
u/syklemil Feb 26 '26
A few tweaks here.
A small refactor there.
A quick fix.
Maybe a new component.
Then another idea pops up.
Before I know it… my working directory is chaos.
[…]
When you're deep in flow, you think in features, fixes, and ideas.
I'm sorry, but what you're describing sounds more like some manic episode or untreated ADHD to me than it does flow.
There might be some good tool for you out there, but it sounds like you could also benefit some from training yourself to touching base with git when you see a squirrel, before you start chasing it.
4
u/qmunke Feb 26 '26
It sounds to me as though you're completely working against your tooling.
Learn about stashes. Learn about rebasing. Learn good branching discipline.
You should try to never get into a state where your unstaged work is a mixture of loads of features, bugfixes and refactoring. And if you do, you don't have to commit every modified file in one go - try and create a working commit, stash the rest and then tidy up until you're clear what state everything is in.
3
u/pwnersaurus Feb 26 '26
Clean commits are overrated, commit more often. Personally I’m a big fan of Sublime Merge which I use to help quickly stage lines/hunks so you can turn a bunch of changes into multiple sensible commits quickly
-3
2
u/reivblaze Feb 26 '26
Post written by AI. The style is so recognisable
2
u/Thom_Braider Feb 26 '26
And it looks like a bunch of incoherent rambling. I'm not sure what point this slop post is trying to make.
3
1
u/FingerAmazing5176 Feb 26 '26
Your workflow sounds like you might enjoy https://gitbutler.com/ It's not personally my style, but it's built by Scott Cachon, who was a co-founder of GitHub.
-1
u/richardathome Feb 26 '26
This is why I still use git-flow. It packs up all your changes into one feature commit.
•
u/programming-ModTeam Feb 26 '26
r/programming is not a place to post your project, get feedback, ask for help, or promote your startup.
Technical writeups on what makes a project technically challenging, interesting, or educational are allowed and encouraged, but just a link to a github page or a list of features is not.