Open JustinGrote opened 6 years ago
I'm currently needing to squash commits before merging as well. Are there any plans to implement this?
@JustinGrote @sebastianmacias do you guys still need this feature? what's your prefer/expectation on the merge action:
git merge --squash feature/name
)git rebase -i HEAD~3
, then checkout the develop branch and merge with the default optionI now use GitDoc + Github Issues and Requests which meets this need for me, and most repositories I work with now have master gated with branch policies so git flow doesn't work as well for me anymore since I can't commit directly to master.
https://marketplace.visualstudio.com/items?itemName=vsls-contrib.gitdoc#collapsing-versions
To implement here, I'd recommend it be a git merge --squash --edit
so that it pops up a vscode window that I can then edit the collapsed commit before closing and saving.
glad to hear that you can resolve your issues and continue the works. your recommendation is my idea also. I have published a new version here with a setting to squash features during merge.
https://marketplace.visualstudio.com/items?itemName=buianhthang.gitflow
try it and give me comment if you have time
Hello,
Love the extension but currently having to squash feature branches before merging. A toggle setting in User Settings that would just add -S to the "finish" command would be great.
Proposed setting name: gitflow.squashBranchOnFinish