Gitlab push

I had some changes, so i did gig add and then commit and then I had some more changes so I did git commit–amend then I did git push.
So now when I go to gitlab I dont see my first commit changes.
how do I cancle this commit and redo the whole thing again.

Thanks

Did you added the ssh key before you push?