Git Product home page Git Product logo

cz-mapbox-changelog's Introduction

Commitizen Mapbox Changelog

This is a commitizen plugin to make the writing of commit messages consistent across a repo.

Usage

git add ./some/file/to/add
git cz

Install

If you don't have commitizen yet:

npm install -g commitizen

Once you have commitizen:

npm install cz-mapbox-changelog --save

Then add the below json block to your package.json.

"czConfig": {
  "path": "node_modules/cz-mapbox-changelog"
}

Parsing Git Log

Changelog ships with a simple parser tool that will read the output of git log and output a list of commits grouped by their category. For more info on how to limit git log to only output the commits that are new to your next release, use git log <OLD_VERSION>..<NEW_VERSION> where OLD_VERSION and NEW_VERSION are git shas or tags.

git log | parse-git-log >> changelog.txt

ARGS

  • --filter-out=cat1,cat2: will exclude the provided categories from its output
  • --header-size=2: sets the number of # used for category headers. Default 3.

cz-mapbox-changelog's People

Contributors

edenh avatar mcwhittemore avatar samanpwbb avatar scothis avatar tmcw 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.