note_default_ref | R Documentation |
Get the default notes reference for a repository
note_default_ref(repo = ".")
repo |
a path to a repository or a |
Character vector of length one with name of default notes reference
## Not run:
## Create and initialize a repository in a temporary directory
path <- tempfile(pattern="git2r-")
dir.create(path)
repo <- init(path)
config(repo, user.name = "Alice", user.email = "alice@example.org")
## View default notes reference
note_default_ref(repo)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.