This is the fastest way to use GitHub Docs Templates.
Use this starter pack:
starter-packs/personal-project/
Copy the files into your own project:
starter-packs/personal-project/README.md -> README.md
starter-packs/personal-project/LICENSE -> LICENSE
starter-packs/personal-project/CONTRIBUTING.md -> CONTRIBUTING.md
Then replace the placeholder text inside the files.
If you are using the GitHub website:
- Open the template file.
- Click the copy button or open the raw file.
- Create a new file in your repository with the correct name.
- Paste the template.
- Replace the placeholders.
If you are using a terminal, copy the starter pack into your project:
cp -R starter-packs/personal-project/. /path/to/your/project/| Your project | Copy this folder |
|---|---|
| Personal project, homework, or first repo | starter-packs/personal-project/ |
| Open-source package or library | starter-packs/open-source-library/ |
| Website or web app | starter-packs/web-app/ |
| Command-line tool | starter-packs/cli-tool/ |
| Documentation website | starter-packs/docs-site/ |
If you only want one file, copy from templates/.
Examples:
templates/README/README_minimal.md -> README.md
templates/LICENSE/LICENSE_MIT.txt -> LICENSE
templates/CONTRIBUTING/CONTRIBUTING_simple.md -> CONTRIBUTING.md
templates/ISSUE_TEMPLATE/ISSUE_bug_report.md -> .github/ISSUE_TEMPLATE/bug_report.md
templates/PULL_REQUEST_TEMPLATE/PULL_REQUEST_simple.md -> .github/PULL_REQUEST_TEMPLATE.md
Before publishing, search for:
[
Common placeholders:
[PROJECT_NAME]
[PROJECT_DESCRIPTION]
[YOUR_NAME]
[CONTACT_EMAIL]
[REPO_URL]
[LICENSE_NAME]
Templates are starting points. It is okay to delete sections that do not fit your project.