Modify to add a push option after commit