4 ms·
Does this work even we keep pushing commits on a remote repository? We extensively use Github Pull Requests for code reviews and most of the time we squash our
by neebz 9y ago
Does this work even we keep pushing commits on a remote repository?
We extensively use Github Pull Requests for code reviews and most of the time we squash our PRs into a single commit but I would love to have a way to merge into multiple smaller squashed commits (as OP did) instead of one big.
- branja 9y agoTry interactive rebase. https://robots.thoughtbot.com/git-interactive-rebase-squash-amend-rewriting-history https://robots.thoughtbot.com/git-interactive-rebase-squash-...
- mtyurt 9y agoYou can watch the video, it shows examples of rebase with feature branches.
- pkamb 9y agoThe Interactive Rebase tool in SourceTree is very good and understandable/usable. I use it all the time to squash some commits, leave others.