Learning to push/commit