When committing changes it is possible to specify that the commit will in future be squashed to another commit and this can be done like so,
git commit --squash=[commit hash of commit to which this commit will be squashed to]
One might also use, --fixup=[commit hash] alternatively to fixup.
It is...