Git
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.
-
Under Developer Settings, click on Personal Access Tokens and select Fine-grained Tokens.
-
Click on Generate New Token.
-
Enter a Token Name.
-
Select the Expiration duration.
-
Click the Generate Token button.
-
-
A new token will be generated. Make sure to copy this token immediately, as it will not be visible again.
-
Paste the generated token into the designated field in Copilot.
-
Provide the Git Repository Link that you want to add as a data source. Click on Connect to finalize the setup.