Getting Git repository hash
This tutorial is part of package functions documentation in Iconify Tools.
Function getGitRepoHash() retrieves last commit hash from local Git repository.
It is used by downloadGitRepo().
Usage
Function has the following parameter:
- options, DownloadGitRepoOptions. Options, same as in downloadGitRepo() function (only target property is used).
Function returns last commit hash as string.
Function is asynchronous.