I have the following in the to-do text of git rebase -i HEAD~2:
git rebase -i HEAD~2
pick 56bcce7 Closes #2774 pick e43ceba Lint.py: Replace deprecated link # Rebase 68
It will be best to just say in the interactive editor containing the commits, git always squash from bottom to top and one should leave a "pick" entry at the top to receive the squashes from below.