I'm starting a new branch from my master branch. But I do not want the whole history on the new branch. I would like only 1 commit to start the branch.
I have created the new branch and tried to rebase all the commits but it does not work since I don't have a previous commit. I don't understand that stuff "previous commit"...
Maybe it would be better squashing the commits. But my new branch is already merged with the master when created.
I don't know how to do that. Do you have an idea?