I'm new to Git and stuck in a situation whether to commit or not. So this might be a basic question. I tried to find a lot regarding this but did not find any answer specific to my concern. So asking here.
I have 15 commits for my branch. Now I have reset to my first commit because of one issue. Then I have made the changes which covered the changes of all commit.
Now my question is can I commit my changes directly? will it be saved on the top of the other commits? what will happen to the other commits and their history. Do I need to delete the history or not? Or I just have to commit the changes and my branch would be ready for merge? Or are there any extra step involved till I mark my final commit?