1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Files
docs/content/github/managing-files-in-a-repository/managing-files-on-github/creating-new-files.md
2021-06-24 10:21:07 -04:00

2.0 KiB
Raw Blame History

title, intro, redirect_from, versions, topics
title intro redirect_from versions topics
Creating new files You can create new files directly on {% data variables.product.product_name %} in any repository you have write access to.
/articles/creating-new-files
/github/managing-files-in-a-repository/creating-new-files
fpt ghes ghae
* * *
Repositories

When creating a file on {% data variables.product.product_name %}, consider the following:

{% data reusables.repositories.sensitive-info-warning %}

{% data reusables.repositories.navigate-to-repo %} 2. In your repository, browse to the folder where you want to create a file. {% data reusables.files.add-file %} 4. In the file name field, type the name and extension for the file. To create subdirectories, type the / directory separator. New file name 5. On the Edit new file tab, add content to the file. Content in new file 6. To review the new content, click Preview. New file preview button {% data reusables.files.write_commit_message %} {% data reusables.files.choose-commit-email %} {% data reusables.files.choose_commit_branch %} {% data reusables.files.propose_new_file %}

Further reading