Started working on the wrong branch? Stash your changes, switch branch, and pop them back.
git stash git checkout correct-branch git stash pop
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
Started working on the wrong branch? Stash your changes, switch branch, and pop them back.
git stash git checkout correct-branch git stash pop