Git: How do I rewind the Master branch on the remote origin
- by user277260
I made 5 commits to Master branch when bug hunting on a private project and pushed them to the remote origin (my own private vps).
Then I saw that commits 4 and 5 were going to cause trouble elsewhere and I need to undo them, so I checked out commit 3 again, made a new branch "Dev" from that point, and did a few more commits fixing the issue…