GithubHelp home page GithubHelp logo

kaleidophon / commit-template-for-humans Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 5 KB

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

License: MIT License

git github gitmessage commit commit-message commit-conventions emojis

commit-template-for-humans's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.