How to revert multiple git commits?

Expanding what I wrote in a comment The general rule is that you should not rewrite (change) history that you have published, because somebody might have based their work on it. If you rewrite (change) history, you would make problems with merging their changes and with updating for them. So the solution is to create … Read more

Update Git branches from master

You have two options: The first is a merge, but this creates an extra commit for the merge. Checkout each branch: Then merge: Then push: Alternatively, you can do a rebase: