I am trying to squash 2 commits and remove merge part, but have some problems.
I have branch main and featureBranch. In my terminal I do:
git checkout main
git merge --squash featureBranch
git push
But nothing really happens. I am in the project folder, I did pull and fetch so I have all the necessary data. How to do that. (VCS is bitbucket even though this shouldn't be important)
PS. I want to do the squash without using interactive rebase option (it is much more complicated that way, at least in my opinion)