Resetting various GIT branches

I accidentally did a whole load of changes to the master branch instead of the dev branch. This would be fine if I could reset the dev branch to where master is at, but I can’t seem to.

Should this be possible?

I really, really hate git …

Ok, worked it out. As much for future me as anything :

  1. checkout the earlier dev branch
  2. right click the master branch, then you can reset the dev branch to master.
2 Likes

Many improvements have happened, but it’s still too easy to screw up a production app.

This FR is still very valid: Make it difficult (or impossible) to mess up the master branch

3 Likes