branch {gitr} | R Documentation |
Git Branch Utilities
Description
Git Branch Utilities
Usage
git_default_br()
git_current_br()
Value
Character. The name of the respective branch if found, otherwise NULL
.
Functions
-
git_default_br()
: gets the default "main" branch, typically eithermaster
,main
, ortrunk
. -
git_current_br()
: gets the current branch.
[Package gitr version 0.0.1 Index]