Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

git_branch_default

Determine default Git branch


Description

Figure out the default branch of the current Git repo.

Usage

git_branch_default()

Value

A branch name

Examples

## Not run: 
git_branch_default()

## End(Not run)

usethis

Automate Package and Project Setup

v2.0.1
MIT + file LICENSE
Authors
Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.