My repo structure is like this.
- branch 'dev' - Created from 'master' and is current.
- branch 'master' - No commits for last 2 years. But few commits (unwanted) ahead of 'dev'.
Now my need is to make the 'master' code exactly same to 'dev'. I guess, a merge would cause the unwanted commits on 'master' to be retained. Any help?