Init the repo as shared.