checkout | R Documentation |
Checks out as a branch if doesn't exist. Branch
oriented workflow for switching between branches.
If file
is passed, checks out the file. A common
shortcut to undoing local changes to a file(s).
Can be a vector of multiple files.
git_checkout(branch = NULL, file = NULL)
branch |
|
file |
|
NULL
... invisibly.
## Not run:
git_checkout("feature-br")
git_checkout(file = "DESCRIPTION")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.