I'm trying to rebase and squash all my commits from current branch to master. Here is what I'm trying to do:
git checkout -b new-feature
make a couple of commits, after it I was trying:
git rebase -i master
in this case commits will remain in new-feature
branch
git checkout master
git rebase -i new-feature
It gives me and edit window with noop message.
I know about command:
git merge --squash new-feature
But I'm currently working on learning of rebase
command.