Depth and reset

I've added two features for this plugin: support for shallow clones, option to reset the repo before syncing.
no, not quite the same.  both "repo sync" and "repo sync -d" will report an error if local uncommitted changes would be lost in the sync.