branch | R Documentation |
Git Branch Utilities
git_default_br()
git_current_br()
git_local_br()
character(1)
. The name of the respective
branch if found, otherwise NULL
.
git_default_br()
: gets the default "main" branch, typically either
master
, main
, or trunk
.
git_current_br()
: gets the current branch.
git_local_br()
: gets all the local branches.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.