1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/data/reusables/files/add-file.md
2023-10-25 16:41:25 +00:00

794 B

{% ifversion code-search-code-view %}

  1. Above the list of files, select the Add file {% octicon "triangle-down" aria-label="The downwards-facing triangle icon" %} dropdown menu, then click {% octicon "plus" aria-label="The plus sign icon" %} Create new file.

    Alternatively, you can click {% octicon "plus" aria-label="The plus sign icon" %} in the file tree view on the left.

    Screenshot of the main page of a repository. Above the list of files, a button, labeled "Add file," is outlined in dark orange. In the file tree view of the repository, a button with a plus sign icon is also outlined in dark orange. {% else %}

  2. Above the list of files, using the Add file drop-down, click Create new file. {% endif %}