Connecting source code from GitHub to an OpenShift Component using OpenShift Connector
When the user has a Git-stored source code that is wanted for further development, it is more efficient to deploy it directly from the Git repository into the OpenShift Connector Component.
This chapter describes how to obtain the content from the Git repository and connect it with a Che-developed OpenShift Component.
Have a running Che workspace.
Be logged in to the OpenShift cluster using the OpenShift Connector.
To make changes to your GitHub component, clone the repository into Che to obtain this source code:
In the Che main screen, open the Command Palette by pressing F1.
Git Clonecommand in the Command Palette and press Enter.
Provide the GitHub URL and select the destination for the deployment.
Add source-code files to your Project using the Add to workspace button.