I have a repo consisting of several commits when master is pointing to the last commit.
v1 -- v2 -- v3 -- v4
| V master
Would like to set for example v2 as the new master
v1 -- v2 -- v3 -- v4
| V master
But haven´t found a solution which works.
p.s.: This is not a duplicate of How to revert Git repository to a previous commit? because i
- don´t want to temporary switch to another commit
- don´t Hard delete unpublished commits
- Undo published commits with new commits
- and i don´t want to revert something
As described, i simply want to make an older version/commit to be the new master