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