Initializing an empty repository with a README
You can set up an empty repository by adding a README file.
-
On GitHub Enterprise, navigate to the main page of the empty repository.
-
To add a README file, under "Quick setup," click README.
-
In the new file editor window, add your README content. For more information on crafting a README, see "About READMEs."
-
At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file. You can attribute the commit to more than one author in the commit message. For more information, see "Creating a commit with multiple co-authors."
-
Below the commit message fields, decide whether to add your commit to the current branch or to a new branch. If your current branch is
master
, you should choose to create a new branch for your commit and then create a pull request. For more information, see "Creating a new pull request." -
Click Propose new file.