sync


Description:

public void sync () throws Error

Copies the information about the submodules URL into the checked out submodule config, acting like "git submodule sync".

This is useful if you have altered the URL for the submodule (or it has been altered by a fetch of upstream changes) and you need to update your local repo.

Parameters:

this

a Submodule.