View source: R/create_empty_branch.R
create_empty_branch | R Documentation |
Create Empty Branch From Github
create_empty_branch( repo = NULL, branch = NULL, org = "KWB-R", set_githubuser = TRUE, git_exe = path_to_git(), dest_dir = tempdir(), execute = TRUE, dbg = TRUE, ... )
repo |
name of existing Github repository (default: NULL) |
branch |
name of branch to be created (default: NULL) |
org |
repo owner (default: "KWB-R") |
set_githubuser |
should the Github user be set before executing the branch creation (default: TRUE). In this case set_github_user() is run |
git_exe |
path to GIT executable (default: kwb.pkgbuild:::path_to_git()), only required on "windows". On all other platforms it is assumed that "git" is sufficient! |
dest_dir |
directory where the the repo should be checked out (default: tempdir()) |
execute |
should a batch file be run? |
dbg |
print debug messages (default: TRUE) |
... |
additional arguments passed to set_github_user |
create empty branch (defined in 'branch') and push to org/repo on Github
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.