4 ms·rebase -i <branch-to-merge-to> then squash the changes you want to hideby MPSimmons 5y agorebase -i <branch-to-merge-to> then squash the changes you want to hide