
Git, React State, and a Few Things on the To-Learn List
Some days you cover a lot of ground — git tricks, React state patterns, and a handful of things you've bookmarked to dig into later. Today was one of those days. git stash — "I'll Deal With This Later" The best way to think about git stash is like putting your unfinished work in a drawer. You're not deleting it, you're not committing it — you're just saying "keep this safe, I'll come back to it." Super useful when you need to quickly switch branches without losing your current changes. And if you've got multiple stashes piling up, git stash@{n} lets you point at a specific one — just like git stash pop but with more control over which entry you're grabbing. git push --no-verify — Skipping the Gatekeeper If your project uses Husky, it sets up pre-commit or pre-push hooks that run checks before your code goes anywhere — linting, tests, that kind of thing. Sometimes you just need to push quickly and skip all that. That's what git push --no-verify is for. Use it wisely though — those hooks
Continue reading on Dev.to React
Opens in a new tab




