Mixed commits of different challenges

I did a request merge for my second challenge and sent 2 commits (my new commit and my commit of the other challenge). So, I read that I should squashed… then, I did this and my problem is worst now. I have both commits mixed and pushed. I don’t know what method use to solve this problem, how can I pushed a commit of my new challenge that doesn’t modify the files of the old challenge if they are already mixed?
(I looked for a solution, but I’m not sure of what I can apply without make other mistake)

1 Like

Please tell us what have you tried, and the outputs/images of the process

git reset or git rebasing! check for git manuals or other topics in the forum related with the same problem

@remote-umbrella f this topic is solved, please mark it as such by checking the solution chart at the bottom of the post you consider that properly answers your question