Skip to contents

Shows a list of all branches in the repository.

Usage

git_branch_list(all = FALSE)

Arguments

all

Logical. Whether to show all branches (including remotes). Default is FALSE.

Value

Character vector of branch names

Examples

if (FALSE) { # \dontrun{
git_branch_list()
git_branch_list(all = TRUE)  # include remote branches
} # }