Best practices for commit

What happens

Hi everyone, I am trying to upload my first challenge but I am facing some pipelines that are failing, and since in the documentation in order to perform a MR is only one commit per MR, I would like to know what are the best practice when I correct the pipelines that failed since it would be my third commit for this challenge.

Did you try any workaround? What did you do?

When I did my second commit, I used the command “git reset --soft” to disable the previous commit that I pushed to the repository, but apparently it did not work because when I request the git log command it appears both of my commits.

I need help with

I need help with how to integrate my commits to perform only one commit per merge request

Remember that this is an immersion process, so I recommend you to investigate a little more in-depth about the git commands and what each of them works for, good luck.