I have one Branch that I have a lot of changes and rebasing.
Although, right now I wish to create a new branch with all my changes to this new Branch.
For example, I have the Branch Developer
with 10 Commits, now I wish to create the Developer v2
with all 10 commits in only one commit in this new branch, so I can take the Developer v2 and start to work on it and delete the Developer
.
EDIT:
My question is a little bit different, I don't want to transform all my commits in only one and commit in master for example. If I wish I can do it:
git checkout master
git pull
git checkout <branch_name>
git rebase -i master
Git checkout master
git merge <branch_name>
What I want is create a new branch from master called v2 and them apply all my changes of the branch developer on V2, so I can delete the Developer Branch and they don't have any relation.