Has anyone used self hosted github and run locally...
# help-connector-development
d
Has anyone used self hosted github and run locally? Is there option where we can change url to organization url and pass credentials?
k
A message from kapa.ai
Yes, you can connect to a private Git repository, such as a self-hosted GitHub instance, by generating a Personal Access Token and using it in the Git repository URL. Here's how you can do it: 1. Generate a Personal Access Token for your self-hosted GitHub instance. You can refer to the [GitHub documentation](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) for more information on creating a token. 2. Use the token to clone the repository by including the credentials in the Git repository URL:
Copy code
git clone <https://username:[email> protected]/user/repo
Replace
username
,
token
,
user
, and
repo
with the appropriate values for your self-hosted GitHub instance. For more information, you can refer to the [Transformations with Airbyte](https://docs.airbyte.com/operator-guides/transformation-and-normalization/transformations-with-airbyte) documentation, which provides details on connecting to private Git repositories.