git_branch_default: Determine default Git branch

Description Usage Value Examples

View source: R/git.R

Description

Figure out the default branch of the current Git repo.

Usage

1

Value

A branch name

Examples

1
2
3
4
## Not run: 
git_branch_default()

## End(Not run)

usethis documentation built on Feb. 10, 2021, 5:08 p.m.