Skip to content

vlt.git.git_repo_version

  GIT_REPO_VERSION - return commit number and remote location of repository

  [V, REMOTE] = vlt.git.git_repo_version(FILEPATH)

  Uses command line 'git' to query the commit verison number (V) and
  the path of the REMOTE repository. If either query fails, an error
  is returned.