1

I have two branches: Master and "Test". I've made few changes to my code, while on Test branch. Later on, I've merged the two branches together, and kept working on the Master branch.

Now, i would like to completely discard all changes made to my code, from the Test branch, without impacting the changes that were made later, on the master branch.

Basically, i want to tell Git: "get rid of anything that came from test branch, but leave all the rest alone".

Is it even possible to do it?

Thank you.

i.brod
  • 3,993
  • 11
  • 38
  • 74

0 Answers0