handle commit ids while pushing to remote