branch {gitr} | R Documentation |
Git Branch Utilities
Description
Git Branch Utilities
Usage
gitr_default_br()
gitr_current_br()
gitr_local_br()
Value
character(1)
. The name of the respective
branch if found, otherwise NULL
.
Functions
-
gitr_default_br()
: gets the default "main" branch, typically eithermaster
,main
, ortrunk
. -
gitr_current_br()
: gets the current branch. -
gitr_local_br()
: gets all the local branches.
[Package gitr version 0.1.0 Index]