Skip to content

git_repo_version

  GIT_REPO_VERSION - return commit number and remote location of repository

  [V, REMOTE] = 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.