Moving a Commit to a New Branch without Losing Progress! 💻🔧
Sometimes we realize after committing that the changes belong on a different branch. Instead of manually copying files, here's a clean, simple way to "move" your last commit to a new branch! 👇
1️⃣ Reset the Last Commit (Keep Changes Staged)
git rese...
mohamedzhioua.hashnode.dev1 min read