5 ms·
Sure. Download the branch and use git. git checkout main git merge --squash pr_branch git commit -m "Commit message"
by thangngoc89 2y ago
Sure. Download the branch and use git.
git checkout main
git merge --squash pr_branch
git commit -m "Commit message"
- matharmin 2y agoThis doesn't work if you have branch protection rules blocking pushes to main, which in my opinion should be standard on any repo
- thangngoc89 2y agoOh I forgot about that. I mostly work on private repo (free account) so that feature isn't available to me.
- rurban 2y agoNope. Pushing to main is only disallowed by default if you change history. A normal squash or rebase merge is allowed and should be allowed. UI-only workflows are for dummies, they won't fly for larger projects