Orion/How Tos/Cloning repository from github
Say you have an account on GitHub, and want use Orion to contribute to work on code in your GitHub repository. Read on for details on how to configure Orion to work with your GitHub repository.
Cloning a Git repository hosted on GitHub
- Obtain a repository URI. Go to the GitHub repository home page and copy the repository URI.
Typically SSH and HTTP give read and write access and Git protocol gives you read-only access.
- If you are using a secure connection you might be required to configure your public key.
- Login to Orion and go to the Repositories link.
- Choose the Clone Repository button and copy your Git repository URI into the Repository URL input.
- You will be prompted for credentials.
- If you added the public key to github, then you need to copy the contents of your private key file (typically in your .ssh directory underneath your home directory in your local file system) into the Private key: field. If your key defined a passphrase, supply it also.
- If you are using ssh login, input your credentials
Ssh username - username
Ssh password - password
- Confirm your credentials and wait until your repository is cloned.
For more information about using Git with Orion, see the Orion User Guide.