is_repository | R Documentation |
The path arguments specifies the directory at which to start the search for a git repository. If it is not a git repository itself, then its parent directory is consulted, then the parent's parent, and so on.
is_repository(path = ".")
path |
the location of the git repository, see details. |
TRUE if directory is in a git repository else FALSE
Other git:
clean_git()
,
create_draft_pr()
,
is_workdir_clean()
,
new_branch()
,
set_tag()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.