Depth and reset

I've added two features for this plugin: support for shallow clones, option to reset the repo before syncing.
yes, good point.  I'd rather issue a warning than failing this though.  Let me send an update.