Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Orion/How Tos/Cloning repository from github"
(New page: = Cloning a Git repository hosted on GitHub = You have an account on GitHub and want use Orion to contribute to a GitHub repository? #Obtain a repository URI. Go to GitHub repository h...) |
(→Cloning a Git repository hosted on GitHub) |
||
Line 3: | Line 3: | ||
You have an account on GitHub and want use Orion to contribute to a GitHub repository? | You have an account on GitHub and want use Orion to contribute to a GitHub repository? | ||
− | #Obtain a repository URI. Go to 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.<br>[[Image:GithubURI.PNG]]<br><br> | + | #Obtain a repository URI. Go to 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.<br>[[Image:GithubURI.PNG]]<br><br> |
− | #If you are using a secure connection you might be required to configure your public key. On GitHub go to '''Account Settings - | + | #If you are using a secure connection you might be required to configure your public key. On GitHub go to '''Account Settings -> SSH Public Keys''' and choose '''Add another public key'''<br>[[Image:GithubAddPublicKey.PNG]]<br><br> |
− | #Copy contents of your public key file in the '''Key''' field. Typically you can find your public/private keys in '''.ssh''' directory in your home directory on your file system | + | #Copy contents of your public key file in the '''Key''' field. Typically you can find your public/private keys in '''.ssh''' directory in your home directory on your file system |
− | #Confirm adding public key by selecting '''Add key''' button | + | #Confirm adding public key by selecting '''Add key''' button |
− | #Login to Orion and go to '''Repositories link'''<br>[[Image:Orion Repostories link. | + | #Login to Orion and go to '''Repositories link'''<br>[[Image:Orion Repostories link.png]]<br><br> |
− | #Choose '''Clone''' button and copy the your Git repository URI into the Repository URL input<br>[[Image: | + | #Choose '''Clone''' button and copy the your Git repository URI into the Repository URL input<br>[[Image:Clone git repository dialog.png]]<br><br> |
− | #If you are using secure protocol input your credentials | + | #If you are using secure protocol input your credentials<br>'''Ssh username''' - username (optional if you are authenticating via private key)<br>'''Ssh password''' - password (optional if you are authenticating via private key)<br>'''Private key''' - private key (optional if you are authenticating via user/password) to match the public key uploaded on GitHub. Typically you can find your public/private keys in '''.ssh''' directory in your home directory on your file system, please copy the contents of the private key file with any whitespace it contains<br>'''Passphrase''' - passphrase if required by your private key<br> |
#Confirm credentials and wait until your repository is cloned | #Confirm credentials and wait until your repository is cloned | ||
For more information about Orion git client go to [[Orion/How Tos/Working with git]] | For more information about Orion git client go to [[Orion/How Tos/Working with git]] |
Revision as of 08:47, 6 May 2011
Cloning a Git repository hosted on GitHub
You have an account on GitHub and want use Orion to contribute to a GitHub repository?
- Obtain a repository URI. Go to 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. On GitHub go to Account Settings -> SSH Public Keys and choose Add another public key
- Copy contents of your public key file in the Key field. Typically you can find your public/private keys in .ssh directory in your home directory on your file system
- Confirm adding public key by selecting Add key button
- Login to Orion and go to Repositories link
- Choose Clone button and copy the your Git repository URI into the Repository URL input
- If you are using secure protocol input your credentials
Ssh username - username (optional if you are authenticating via private key)
Ssh password - password (optional if you are authenticating via private key)
Private key - private key (optional if you are authenticating via user/password) to match the public key uploaded on GitHub. Typically you can find your public/private keys in .ssh directory in your home directory on your file system, please copy the contents of the private key file with any whitespace it contains
Passphrase - passphrase if required by your private key - Confirm credentials and wait until your repository is cloned
For more information about Orion git client go to Orion/How Tos/Working with git