Push to Hub with Training Script

So I have been training a model using controlnet training script. It is finished but is clearly uploading all 20+ checkpoints to the hub. Do I specify --max_checkpoints? How does that work. Does it just keep at most max_checkpoints and delete the oldest? The comment in controlnet trainer.py is not clear.

Other than increasing the checkpointing interval, how else can I avoid pushing too much onto the hub?