xgh_check_base_name: Check branch address is valid.

View source: R/gh.R

xgh_check_base_nameR Documentation

Check branch address is valid.

Description

xgh_check_base_name takes a full git branch address, validates it, and returns it as a list. For example, "textmatelives/textmate:fix/browser_sorting" would return list(owner = "textmatelives", repo = "textmate", branchname = "fix/browser_sorting").

Usage

xgh_check_base_name(base = "textmatelives/textmate:main")

Arguments

base

A three-component branch name. Default "textmatelives/textmate:main"

Value

list of components

References

https://tbates.github.io, tutorials

See Also

gh_feature_branch()

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

Examples

xgh_check_base_name("textmatelives/textmate:fix/browser_sorting")

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