R/git.R
git_get_tree_id.Rd
Returns the Git tree id (SHA) for the specified directory. Works even when called from a subdirectory of the repository.
git_get_tree_id(dir = ".")
Path to the directory whose tree id should be retrieved.
Character scalar with the tree id.
if (FALSE) { # \dontrun{ git_get_tree_id("packages/g6tr.docs") } # }