Because I make changes on the wrong branch all the friggen time in #git, here is a reminder for everybody—including myself—that git stash is a thing that exists.
(wrong_branch)$ git stash
(wrong_branch)$ git checkout <correct_branch>
(correct_branch)$ git stash apply
Also, h/t k88hudson et al. for the always-useful git flight rules: https://github.com/k88hudson/git-flight-rules?tab=readme-ov-file#i-made-changes-on-the-wrong-branch
=> More informations about this toot | View the thread | More toots from phrawzty@hachyderm.io
=> View git tag This content has been proxied by September (3851b).Proxy Information
text/gemini