Revert back to a specific commit in git, build, then revert to the latest changes
Revert back to a specific commit in git, build, then revert to the latest changes git
git
Your steps are just fine, and you will not lose any work doing it that way. You may want to check out the git stash command to avoid step 2 if you're not really at a good stopping point.