Description Usage Arguments Value
Get the toplevel git directory
1 | dir_git_toplevel(dir = getwd(), check = TRUE)
|
dir |
A directory, by default the current working directory |
check |
Logical, if TRUE no test for whether dir is inside a git work tree |
The path to the toplevel git directory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.