Learn R Programming

Orcs (version 1.2.3)

assignSSH: Assign SSH Key to Local Git Repository

Description

Assign an SSH key to a local Git repository to bypass user/password prompts during `git push. See Generating an SSH Key for further information on how to generate an SSH key and add it to your GitHub account.

Usage

assignSSH(user, repo)

Arguments

user

GitHub user name as character. If not specified, information on GitHub user and repository name is taken from the current working environment.

repo

GitHub repository name as character, see 'user'.

See Also

Examples

Run this code
if (FALSE) {
## for an arbitrary git repository
assignSSH()

## for this very git repository
assignSSH(user = "fdetsch", repo = "Orcs")
}

Run the code above in your browser using DataLab