Is any way to configure a private git repository in OpenShift?
Or OpenShift doesn't provide external access to Git repositories?
Making a repository privateGitHub will detach public forks of the public repository and put them into a new network. Public forks are not made private. If you're using GitHub Free for personal accounts or organizations, some features won't be available in the repository after you change the visibility to private.
To register the repository SSH key with your private repository on GitHub, go to the Settings for the repository. On GitHub the repository SSH key is referred to by the term Deploy key. Search down the settings page and find the Deploy keys section and select it. Click on the Add deploy key button.
You can invite users to become collaborators to your personal repository. If you're using GitHub Free, you can add unlimited collaborators on public and private repositories. Repositories owned by an organization can grant more granular access. For more information, see "Access permissions on GitHub."
You need to execute the following steps:
git clone <your-external-repo-url>
change to newly cloned git directory
git remote add openshift -f <openshift-git-repo-url>
git merge openshift/master -s recursive -X ours
git push openshift master
Here's the reference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With