I have a master branch that is the production branch and so I create several other branches for fixes and defects. I make several changes in those branches and so I commit many times in those branches. As per the policy, I have to create a single commit for a defect in the master branch for a fix but when I merge my changes to master branch all the commits are also merged and so is reflected in the history.
I want to know if there is an option in VSCode to squash merge to the master branch from my defect branch, so I can just create a single commit in the master branch and push. I know how to do it in git bash but is there an alternative in VScode that I am not aware of?
