Learn R Programming

Rperform (version 0.0.0.9000)

get_branch: 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