GithubHelp home page GithubHelp logo

mbelchin / git-messages-format Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 409 KB

Testing git Messages format and templates

Home Page: https://moisesbm.wordpress.com/2018/09/15/git-commit-messages-shareable-format/

License: MIT License

JavaScript 100.00%
help-wanted discussion discussions enhancement improvement contribution good-first-issue good-practices git-hooks git-commit

git-messages-format's Introduction

Shareable GIT commit messages format

shareable and zero-conf git Messages format to be used across a dev team

GitHub GitHub release

Twitter

Read this in other languages: English, Español.

Shareable and zero-conf git Messages format to be used across a dev team using native GIT hooks

Installation

OS X, Linux & Windows:

npm install

Usage example

NPM will install husky and commitlint npm packages. They are responsible for installing and triggering custom GIT hooks.

Inside the package.json file you will find the configuration for husky. For this case we are using commit-msg and post-merge GIT hooks.

"husky": {
  "hooks": {
    "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
    "post-merge": "npm install"
  }
}

For more examples and usage, please refer to https://moisesbm.wordpress.com/2018/09/15/git-commit-messages-shareable-format/.

Author

Moisés Belchín
@moises_b_m
https://github.com/mbelchin/

Distributed under the MIT license. See LICENSE for more information.

Documentation

For a detailed explanation, please refer to: https://moisesbm.wordpress.com/2018/09/15/git-commit-messages-shareable-format/

Discussion

This project was created to find a simple way to share same GIT commit messages format across a whole developers team.

If you consider some things could be improved or you know another simpler, easier configurable tools, please open a discussion thread so all of us could benefit from those improvements.

Contributing

  1. Fork it (https://github.com/mbelchin/git-messages-format/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am '<type>(scope): add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

git-messages-format's People

Contributors

dependabot[bot] avatar mbelchin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.