I've committed some bad code a few days ago and today I changed and pushed an older head to master.
Before changing head:
commit 4
commit 3 - bad code starts here
commit 2 - i set the head here and pushed
commit 1
After changing head:
commit 2 - current head
commit 1
The problem is that now I want those 'bad commits' back.
It is possible to get them back?