I wanted to create a PR on a new target branch but Im getting an conflict because the old feature branch is created using old target branch and creating a PR to new branch will create an error.
so I am doing these steps:
- create new branch from new target branch
- squash all commit into one commit
- cherry pick the squashed commit into feature branch
- force push into remote branch
My question is how can I squash all commits into one commit ?