"Li Frank" <Frank.Li@xxxxxxxxxxxxx> writes: > I don't know the detail of git internal. Or my email subject > description have some problem. > > I just want to combine some commits to one commit and push combined > commit to remote. And at same time, keep commits history at my local > repository. Rebase will make original history lost. git merge --squash may help. -- Matthieu -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html