Managing Repositories
This section guides you through managing your code repositories within the application. You can connect to various repository hosting services or upload local repositories to enhance your coding workflow.
Connecting to External Repositories
Connecting to external repositories allows you to directly access and manage your code from services like GitHub, Bitbucket, GitLab, and Azure DevOps.
Supported Services
The application supports connections to the following services:
- GitHub: Connect to your GitHub account to access your repositories.
- Bitbucket: Integrate with Bitbucket for seamless code management.
- GitLab: Connect to GitLab to work with your GitLab projects.
- Azure DevOps: Link your Azure DevOps account to access your repositories hosted on Azure.
- Self-hosted Git Instances: Connect to your self-hosted git instances using the "Manage Self-hosted Connection" and providing the API key and URL.
Connecting a Repository
- Navigate to the Settings or Repositories section of the application. This is done by clicking the settings icon in the left navigation bar.
- Locate the service you want to connect to (e.g., GitHub, Bitbucket).
- Click the Connect button next to the service.
- You will be redirected to the service's authorization page. Follow the on-screen instructions to grant the application access to your repositories.
- Once authorized, you will be redirected back to the application, and your repositories from that service will be available.
Managing Connections
- Updating API Keys: If your API key changes or expires, you can update it in the connection settings. Click the gear icon next to the connected repository, enter the new API key, and save the changes.
- Deleting Connections: To remove a connection, click the gear icon next to the connected repository and select the delete option. This will remove access to your repositories from that service.
Uploading Local Repositories
In addition to connecting to external services, you can upload local repositories directly to the application. This is useful for working with code that is not hosted on a public or private repository service.
Uploading a Repository
- In the Repositories section, find the "Local Repositories" option.
- Click the Locate on your device button.
- Select the root directory of your local repository.
- The application will compress the repository into a
.tar.gz
archive and upload it. - Once uploaded, the repository will be available for use within the application.
Managing Uploaded Repositories
- Removing a Repository: To remove an uploaded repository, find it in the list of repositories and click the Remove button. This will delete the repository from the application.
Selecting Branches
After connecting or uploading a repository, you may be prompted to select the branches you want to work with. The application will analyze these branches to extract useful information.
Working with Repositories
Once your repositories are connected or uploaded, you can use them within the application for various tasks, such as code analysis, refactoring, and more.
Custom Integrations
You can manage self-hosted git integrations by clicking on the Manage Self-hosted Connection button and providing the URL and API key.
Troubleshooting
If you encounter any issues connecting to or uploading repositories, please consult the Troubleshooting and Support section or contact support for assistance.