Package detail

gacp

vivaxy1kMIT3.0.3

💬Git add, commit, push with Conventional Commits and Gitmoji.

git, changelog, nodejs, conventional-changelog

readme

gacp

Build Status NPM Version NPM Downloads MIT License Standard Version Codecov Financial Contributors on Open Collective

💬Git add, commit, push with Conventional Commits and Gitmoji.

GACP

Installation

npm i -g gacp

Usage

gacp

gacp --help

gacp --no-add

gacp --no-push

gacp --emoji emoji

gacp --editor

gacp --no-verify

gacp --emoji none

Configuration File

You can configure gacp via:

  • A gacp property in package.json.
  • A .gacprc file in JSON, YAML or CommonJS with or without extensions .json, .yaml, .yml, .js.
  • A gacp.config.js file in CommonJS.

Basic Configuration

Default configuration:

{
  "add": true,
  "push": true,
  "emoji": "code",
  "editor": false,
  "hooks": {
    "postpush": ""
  }
}

Change log

Change log

Contributing

Contributing

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

Related Projects

#

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.0.3 (2022-08-17)

Bug Fixes

  • :bug: cannot push when multiple remotes (002ecbd), closes #92

3.0.2 (2022-05-19)

Bug Fixes

3.0.1 (2022-05-05)

Bug Fixes

  • :bug: revert default emoji config from none to code (3000e9e)

3.0.0 (2022-05-04)

âš  BREAKING CHANGES

  • set gitmoji disabled by default. closes: #118
  • gacp no longer push tags. closes #123

Features

  • support disable gitmoji (0b9e9dd)
  • add --no-verify option`: :sparkles: (1d81dab), closes #121
  • remove --follow-tags when pushing (f94879e)

Bug Fixes

  • deps: update dependency execa to v5 (c8d39de)
  • deps: update dependency fs-extra to v10 (69d3ace)
  • deps: update dependency yargs to v17 (78ea990)

2.10.2 (2020-10-13)

Bug Fixes

  • :bug: fix history not cleared (b7fb625)
  • :bug: fix history not cleared after a successfully commit (c06e3e6)

2.10.1 (2020-10-13)

Bug Fixes

  • :bug: fix history not working (8cb774d)
  • deps: update dependency cosmiconfig to v7 (6cd362b)
  • deps: update dependency update-notifier to v5 (781ce71)
  • deps: update dependency yargs to v16 (98f5753)

2.10.0 (2020-06-23)

Features

  • :sparkles: support multi-line longer description (42c431a), closes #40 #43

Bug Fixes

  • deps: update dependency chalk to v4 (4dd27bd)
  • deps: update dependency conventional-commit-types to v3 (44fe77d)
  • deps: update dependency cosmiconfig to v6 (bf0168e)
  • deps: update dependency execa to ^0.11.0 (55e4b14)
  • deps: update dependency execa to v4 (87a4dc4)
  • deps: update dependency fs-extra to v9 (ada4c09)
  • deps: update dependency update-notifier to v4 (2e1670f)
  • deps: update dependency yargs to v15 (f8cde91)

2.9.0 (2020-05-05)

Features

  • :sparkles: support run gacp in a git subdirectory (9bad872)

2.8.0 (2020-04-29)

Bug Fixes

  • :bug: fix commitlint rule when rule config is set to never (6ffbe7c)

Build System

  • :children_crossing: add vscode debug config (2aa6aaa)

Features

  • :sparkles: support run postpush hook (d7bc7d8), closes #45 #46
  • :sparkles: add --set-upstream option when git push (50d9258), closes #44

2.7.2 (2020-02-25)

Bug Fixes

  • typo: :rewind: revert last fix, terse to tense (5aa6bc1)

2.7.1 (2020-02-25)

Bug Fixes

2.7.0 (2020-02-19)

Features

  • :sparkles: support --no-add (bd5fb4f)

2.6.3 (2020-02-03)

2.6.2 (2019-07-16)

Bug Fixes

  • import: :bug: remove useless import (9ee670a)
  • word wrap: :bug: width value (b5444a2)

2.6.1 (2019-07-16)

Bug Fixes

  • format: :bug: fix wrap body or footer at the right width (1b62903)
  • format: :bug: fix wrap body or footer at the right width (#33) (3f29a7c)

Tests

  • nyc: :white_check_mark: fix nyc coverage report (89f1d02)

2.6.0 (2019-07-04)

Bug Fixes

Features

  • commitlint config: :sparkles: format commit message with local com (3481762)

2.5.8 (2019-06-20)

Bug Fixes

  • error output: :bug: Improve uncaught error output (dcb91fe)

2.5.7 (2019-06-20)

Bug Fixes

  • error output: :bug: Improve uncaught error output (9c2f3a9)

2.5.6 (2019-06-20)

Bug Fixes

  • shebang: :bug: Fix missing shebang (9b72b9b)

2.5.5 (2019-06-20)

Bug Fixes

  • stdout: :bug: Fix stdout without colors (c4d959a)

2.5.4 (2019-06-19)

Bug Fixes

  • update notifier: :bug: Fix install command will be yarn add gacp (3248e60)

2.5.3 (2019-06-17)

2.5.2 (2019-06-17)

Bug Fixes

  • emoji: :bug: Fix none in emoji (98f6048)

2.5.1 (2019-06-14)

Bug Fixes

  • prompt: :bug: Fix prompt default value (4cfa76a)

2.5.0 (2019-06-14)

Features

  • prompt: :sparkles: Use autocomplete to improve select experience (b3af533)

2.4.0 (2019-06-14)

Bug Fixes

  • commitlint: :bug:fix header-max-length to 72 (c08b207)

Features

  • config: :sparkles: support .rc files (5570d57)
  • options: :sparkles:add whether to use emoji code option (69ebe29)

2.3.3 (2019-06-13)

Performance Improvements

  • history: :zap:Optimize history performance (c4850db)

2.3.2 (2019-06-13)

2.3.1 (2019-06-13)

2.3.0 (2019-06-13)

Bug Fixes

Features

  • add options: :sparkles:add push option (f94fc07)

2.2.1 (2019-06-13)

Bug Fixes

  • history: :bug:Keep history only when commit message fails (1379167)

2.2.0 (2019-06-13)

Features

  • gitmoji: :sparkles:Update gitmojis.json (db727c5)
  • history: :sparkles:Support history (d515f60)

2.1.2 (2019-04-01)

2.1.1 (2019-01-10)

Bug Fixes

  • push: :bug:fix push with --follow-tags (f0b9ef2)

2.1.0 (2018-08-02)

Features

  • gitmojis: :sparkles:Add 3 more emoji (cc7aa71)

2.0.1 (2018-01-29)

2.0.0 (2018-01-29)

Features

  • console: :sparkles:Update console output, show more details. (f7fb480)
  • prettier: :sparkles:Replace eslint with prettier (f6a131c)

1.9.2 (2018-01-22)

1.9.1 (2018-01-22)

1.9.0 (2018-01-22)

Features

  • gtimojis: :sparkles:Update gitmojis (58ee25b)

1.8.0 (2017-05-31)

Features

  • update-notifier: :sparkles:Add update-notifier (545f95a)

1.7.0 (2017-05-27)

Features

  • :sparkles: (9a24f5c)
  • :sparkles:Prompt when password needed (a19c09e)
  • listr: :sparkles:Switching to VerboseRenderer (ee4e91a)

1.6.1 (2017-03-20)

1.6.0 (2017-02-05)

Features

  • commit types: :sparkles:Select commit types with order (8e95772)

1.5.1 (2017-02-05)

Bug Fixes

  • configManager: :bug:Fix gitmoji stat order (a21ffbe)

1.5.0 (2017-02-04)

Features

  • :sparkles:Update gitmoji list; Use yarn; Sort gitmoji by usage count (022b38e)

1.4.6 (2017-01-27)

Bug Fixes

  • checkGitRepository: :bug:fix not a git repository (8d37c6b)
  • push: :bug:Fix push with tags (0f06702)

1.4.5 (2016-12-21)

Reverts

  • :bug:revert fix when user presses key, console output gets wired, preserve user input (5dd304c)

1.4.4 (2016-12-04)

Bug Fixes

  • :bug:fix process not exiting after listr have done (9710067)

1.4.3 (2016-12-03)

Bug Fixes

  • :bug:fix when user presses key, console output gets wired (7301f00)

1.4.2 (2016-11-28)

Bug Fixes

  • push: :bug:fix check push, when remote branch not exists, an error thrown (8e7a70e)
  • push: :bug:fix check push, when remote branch not exists, output errors (d116891)

1.4.1 (2016-11-27)

Bug Fixes

  • git: :bug:fix check remote differ (c8603cc)

1.4.0 (2016-11-27)

Bug Fixes

  • babel: :bug:fix babel rest spread arguments (9c8352b)
  • git: :bug:fetch before check need push (68db649)
  • prompt: :bug:if nothing changed, prompt is not needed (84498d0)
  • tasks: :bug:fix no traking remote (860f272)

Features

  • commit: check if a git tree is clean (707750d)
  • exec: :hammer:using execa instead of shelljs (6dc5256)
  • git: :sparkles:check remote differ to info users to pull first; check local status to decide i (7bca53c)
  • git: :sparkles:skip tasks or add task according to git status (3793d68)
  • tasks: :sparkles:skip git push when there is no tracking remote (d4a6fe9)

1.3.3 (2016-11-27)

Bug Fixes

  • commit: :bug:fix: " string in commit message causes command spilt (68206c5)

1.3.2 (2016-11-26)

Bug Fixes

  • commit: :bug:fix commit when message contains '`', fix push when remote not exists (f198c2c)

1.3.1 (2016-11-23)

Bug Fixes

  • push: :sparkles:push with tag (64009d2)

1.3.0 (2016-11-23)

Features

  • emoji: add emoji support in commit (b6f6233)

1.2.0 (2016-11-23)

Features

  • changelog: :memo:test emoji on cz (07c0707)

1.1.2 (2016-11-23)

1.1.1 (2016-11-23)

1.1.0 (2016-11-22)

Features

1.0.0 (2016-11-22)

Features

  • check git repository (ff0585a)
  • optimize help message

0.0.0 (2016-11-22)

  • first version