I want to keep some commits private on push, so I want that they get bundled into one big commit on the remote side. Locally they should remain splitted.
A use case is for example the work on a static blog. The draft steps should be commited and tracked locally but on push I want only publish released versions.
A solution in git and/or mercurial will be accepted.