Skip to content

Good templates for the issue, pull request, and contributing templates on GitHub, GitLab, and Bitbucket.

License

Notifications You must be signed in to change notification settings

lararosekelley/github-templates

Repository files navigation

GitHub Templates

Good template for GitHub's ISSUE_TEMPLATE.md, CONTRIBUTING.md, and PULL_REQUEST_TEMPLATE.md files.

Build Status


Installation

Simply download the needed files by running this from your root project folder:

$ bash -c "$(curl -s https://raw.githubusercontent.com/tylucaskelley/github-templates/master/install.sh)"

For convenience, you can create a Git alias in your ~/.gitconfig file. Under the [alias] section, add the following so you can run git tpl to generate your template files:

tpl = "!f() { bash -c \"$(curl -s https://raw.githubusercontent.com/tylucaskelley/github-templates/master/install.sh)\"; }; f"

When you run git tpl, you'll be prompted for your username, email address, and repository name - you can leave the defaults if they look correct (inferred from git config variables).

Adding your code style guidelines

You should replace the {guidelines} section in CONTRIBUTING.md with your own code style guidelines after installation.

Adding your Git workflow

CONTRIBUTING.md assumes a forking / feature-branch workflow for making contributions to your repository; edit this if your project requires a different flow.

Contributing

See CONTRIBUTING.md.

License

Copyright (c) 2017-2018 Ty-Lucas Kelley. MIT License.