commit before upload