Skip to content

An approachable git message template for normal people, including instructions on how to set it up.

License

Notifications You must be signed in to change notification settings

Kaleidophon/commit-template-for-humans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

A commit message template for humans 👪

What is this about? ⁉️

Are you weary 😩 of shitty commit messages like


Bugfix.


Refactor stuff.


Delete old code.


Behold! Here is a simple solution. Use the .gitmessage template provided in this repository to nudge your colleagues (and yourself) into writing better commit messages like


🐛 Fix bug in data loader causing an IndexError.


♻️ Refactor database integration.


✂️ Removed old routing logic.


How do I use this? 💻

If you want to set this commit template globally, clone the repo or download the .gitmessage file and run

git config commit.template /absolute/path/to/file

If you want to set this commit template for a single repository, run

git config commit.template relative-path-from-repository-root

When working on your project, just call the usual

git commit 

and the template pops up. Don't worry, every line starting with # is a comment and will not be visible.

Credit where credit is due 👏

This particular template was created in collaboration with @dieuwkehupkes and @jumelet on this project.

The emoji system is loosely adapted from @dannfritz's system, which can be found here.

Instructions on how to set the template was found on this StackOverflow question.

A complete list of emojis that are supported by GitHub can be found here.

About

An approachable git message template for normal people, including instructions on how to set it up.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published