项目作者: freeCodeCamp

项目描述 :
Commitizen adapter for freeCodeCamp.
高级语言: JavaScript
项目地址: git://github.com/freeCodeCamp/cz-freecodecamp.git
创建时间: 2017-03-01T02:36:35Z
项目社区:https://github.com/freeCodeCamp/cz-freecodecamp

开源协议:

下载


cz-freecodecamp

Greenkeeper badge

Status:
Build Status

A plugin for commitizen built for
freeCodeCamp

Table of Contents

Introduction

This Commitizen adapter helps standardize commit messages for freeCodeCamp so
being asked to fix incorrectly formatted commit messages will be less of a
problem.

Installation

Install as a global adapter for freeCodeCamp repos

  1. # Install the commitizen cli globally
  2. npm install --global commitizen
  3. # Install the freeCodeCamp commitizen adapter globally
  4. npm install --global cz-freecodecamp
  5. # Save the adapter into global config
  6. echo '{ "path": "cz-freecodecamp" }' > ~/.czrc

Usage

Usage on freeCodeCamp’s repos

  1. ... # Make changes
  2. # Stage changes
  3. git add changed-file
  4. # This adapter is bundled in the freeCodeCamp main repo as a dependancy.
  5. # Either use the inbuilt script
  6. npm run commit
  7. # Or alternatively on any of freeCodeCamp's repos including the main repo,
  8. # use git cz instead of git commit
  9. git cz

Note: Please check the contributing guidelines on the main repo for more on usage.