Skip to content

Commit 58a34b9

Browse files
authored
Clarify what gitignore templates are/do
1 parent 6258aba commit 58a34b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/repositories/creating-and-managing-repositories/creating-a-new-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ topics:
4040
{% data reusables.repositories.choose-repo-visibility %}
4141
1. If you're not using a template, there are a number of optional items you can pre-populate your repository with. If you're importing an existing repository to {% data variables.product.github %}, don't choose any of these options, as you may introduce a merge conflict. You can add or create new files using the user interface or choose to add new files using the command line later. For more information, see [AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line), [AUTOTITLE](/repositories/working-with-files/managing-files/adding-a-file-to-a-repository#adding-a-file-to-a-repository-using-the-command-line), and [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts).
4242
* You can create a README, which is a document describing your project. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes).
43-
* You can create a _.gitignore_ file, which is a set of ignore rules. For more information, see [AUTOTITLE](/get-started/git-basics/ignoring-files).{% ifversion fpt or ghec %}
43+
* You can create a _.gitignore_ based on a template file from the {% data variables.product.github %} [.gitignore repository](https://github.com/github/gitignore) to start your project by ignoring related files that shouldn't be tracked. For more information, see [AUTOTITLE](/rest/gitignore/gitignore).{% ifversion fpt or ghec %}
4444
* You can choose to add a software license for your project. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository).{% endif %}
4545
{% data reusables.repositories.select-marketplace-apps %}
4646
{% data reusables.repositories.create-repo %}

0 commit comments

Comments
 (0)