Git Repositories
The Git data source connects Copilot to your Git repositories, enabling access to your codebase. It allows Copilot to track changes, automate tasks like issue creation, and keep your team updated on code changes.
How to Connect Git
Follow these steps to get a token and connect your Git repository to Copilot:
-
Go to GitHub Settings and navigate to Developer Settings.
Navigate to Developer Settings in GitHub. -
Under Developer Settings, click on Personal Access Tokens and select Fine-grained Tokens.
Click on Personal Access Tokens. -
Click on Generate New Token
Choose Fine-grained Tokens under Personal Access Tokens. -
Enter a Token Name, and click on Generate Token button.
Enter a name for your token. Click on Generate token -
A new token will be generated. Make sure to copy this token immediately, as it will not be visible again.
Copy the newly generated token. -
Paste the generated token into the designated field in Copilot.
Paste the token into Copilot to authenticate. -
Provide the Git Repository Link that you want to add as a data source. Click on Verify and Add.
Enter your Git repository link and connect it to Copilot. -
Click on Add Data Source.
Click 'Add Data Source' to finalize the setup.