Learn R Programming

usethis (version 2.0.0)

git_branch_default: Determine default Git branch

Description

Figure out the default branch of the current Git repo.

Usage

git_branch_default()

Arguments

Value

A branch name

Examples

Run this code
# NOT RUN {
git_branch_default()
# }

Run the code above in your browser using DataLab