note_default_ref-methods: Default notes reference

Description

Get the default notes reference for a repository

Usage

1
2
3
4
note_default_ref(repo)

## S4 method for signature 'git_repository'
note_default_ref(repo)

Arguments

repo

The repository

Value

Character vector of length one with name of default notes reference

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.