git rebase -i is helpful for merging together local commits.
Say you did 5 commits and they’re really a single feature. I usually, do:
git rebase -i HEAD~5 and use “fixup” to make them one commit.
Lastly, before pushing to create a PR, I rebase on master. This shouldn’t be interactive
unless there are conflicts. That’s just a:
git checkout master
git pull -r
git checkout feature-branch
git rebase master
Scott Rossillo
Smartling | Senior Software Engineer
srossillo(a)smartling.com
On Feb 29, 2016, at 9:54 AM, Bill Burke <bburke(a)redhat.com>
wrote:
How you guys do this? I did a rebase -i and squashed everything but the
PR contained diffs of merged files and not just my changes.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev