xgh_get_current_branch: Get the current git branch

View source: R/gh.R

xgh_get_current_branchR Documentation

Get the current git branch

Description

xgh_get_current_branch takes a local_path to return a current branch

Usage

xgh_get_current_branch(local_path = ".")

Arguments

local_path

Default ".".

Value

  • current_branch name

See Also

  • gh_open_PR_url()

Other github: gh_feature_branch(), gh_message_search(), gh_open_PR_url(), xgh_check_base_name()

Examples

## Not run: 
xgh_get_current_branch(local_path)

## End(Not run)

umx documentation built on Oct. 11, 2026, 5:07 p.m.