git_branch | R Documentation |
From a path to a git controlled dir get the current active branch. This throws an error if branch can't be retrieved.
git_branch(path)
path |
Path to the directory to get the branch for. |
The git branch or error if can't be found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.