2.6 KiB
2.6 KiB
title, shortTitle, intro, versions, type, topics, allowTitleToDifferFromFilename
| title | shortTitle | intro | versions | type | topics | allowTitleToDifferFromFilename | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Adding your {% data variables.projects.project_v2 %} to a repository | Adding a {% data variables.projects.project_v2 %} to a repo | You can add your {% data variables.projects.project_v2 %} to a repository to make it accessible from that repository. |
|
tutorial |
|
true |
Linking a repository to your project
You can list relevant projects in a repository. You can only list projects that are owned by the same user or organization that owns the repository.
In order for repository members to see a project listed in a repository, they must have visibility for the project. For more information, see AUTOTITLE and AUTOTITLE.
- On {% data variables.product.prodname_dotcom %}, navigate to the main page of your repository.
- Click {% octicon "table" aria-hidden="true" aria-label="table" %} Projects.

- Click Link a project.
- In the search bar that appears, search for projects that are owned by the same user or organization that owns the repository.
- Click on a project to list it in your repository.
{% ifversion project-default-repositories %}
Setting a default repository for your project
You can set a default repository for a project. When you set a default repository, new issues created from your project are automatically assigned to that repository. After you set a default repository, your project also appears in the repository’s Projects tab.
To update the default repository for your project:
- In your repository, click {% octicon "table" aria-hidden="true" aria-label="table" %} Projects.
- Under "Projects," find and click your project in the list.
- In the top-right of the project page, click the {% octicon "kebab-horizontal" aria-label="repository settings" %} dropdown menu, then select {% octicon "gear" aria-label="Settings" %} Settings to go to the project settings page.

- Under "Default repository," select a default repository for your project.
- Click Save changes to confirm your changes.{% endif %}