i used to struggle w/ huge, messy commits until i started using
git stash to temporarily park my changes. it is a total game changer for when you need to jump btwn branches w/o committing half-finished code. the
major benefit is that you can keep your history clean by breaking tasks into smaller chunks.
it basically saves you from commit shame . i just run
git stash save
and move on to the next task. does anyone else use any other way to manage mid-task context switching lmao?
full read:
https://developer.mozilla.org/en-US/blog/optimize-your-workflow-git-stash/