git_remote_connect {worcs} | R Documentation |
Connect to Existing 'GitHub' Repository
Description
Given that a 'GitHub' user is configured, with the appropriate permissions, this function connects to an existing repository.
Usage
git_remote_connect(repo, remote_repo)
Arguments
repo |
a path to an existing repository, or a git_repository object as returned by git_open, git_init or git_clone. |
remote_repo |
Character, indicating the name of a repository on your account. |
Value
Invisibly returns a list with the following elements:
repo_url: Character, URL of the connected repository
repo_exists: Logical
prior_commits: Logical
See Also
gh_whoami
git_fetch
, git_remote
Examples
## Not run:
git_remote_connect()
## End(Not run)
[Package worcs version 0.1.18 Index]