get_branch: Current branch name of a git repository.

View source: R/git_help.R

get_branchR Documentation

Current branch name of a git repository.

Description

get_branch returns the current branch name for the git repository passed in as parameter (default being the current repository).

Usage

get_branch(dir_path = "./")

Arguments

dir_path

Path of the git repository.

See Also

repository


analyticalmonk/Rperform documentation built on July 3, 2022, 2:36 a.m.