haakonhp / Template_Java

Template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template_Java

Template

____________________________________________________________________________________________________________

Issue and Pull Request templates:

Git Configuration:

To add an Issue template to a repository create a file called ISSUE_TEMPLATE in the root directory.
A file extension is optional, but Markdown files (.md) are supported.
Markdown support makes it easy to add things like headings, links, @-mentions, and task lists to your templates.

Pull Request templates follows the same pattern: add a file called PULL_REQUEST_TEMPLATE to the root directory of your repository.

If you’re worried about the added clutter in the root directory of your project, we also added support for a .github/ folder.
You can put CONTRIBUTING.md, ISSUE_TEMPLATE.md, and PULL_REQUEST_TEMPLATE.md files in .github/ and everything will work as expected.

https://github.com/devspace/awesome-github-templates
https://github.blog/2016-02-17-issue-and-pull-request-templates
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions
____________________________________________________________________________________________________________

Gitignore / Gitignore Global USAGE:

Git Configuration:

https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
https://github.com/github/gitignore

To tell Git to use the template file (globally, not just in the current repo), I used the following command:
IMPORTANT
git config --global core.excludesfile ~/.gitignore_global
In the current project directory
IMPORTANT

https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
https://github.com/github/gitignore
____________________________________________________________________________________________________________

Commit Template USAGE:

Git Configuration:

To tell Git to use the template file (globally, not just in the current repo), I used the following command:
IMPORTANT
git config --global commit.template ~/.gitmessage
In the current project directory
IMPORTANT

https://gist.github.com/median-man/3a7c4324005e96f02691f3a20aeac26b
https://thoughtbot.com/blog/better-commit-messages-with-a-gitmessage-template
____________________________________________________________________________________________________________

Set-up IntelliJ:

How to change settings/default settings:

https://www.jetbrains.com/help/idea/configuring-project-and-ide-settings.html
https://www.jetbrains.com/help/idea/configure-project-settings.html
https://www.jetbrains.com/idea/guide/tutorials/configuring-intellij-idea/configuring-preferences-settings/
____________________________________________________________________________________________________________

About

Template