GithubHelp home page GithubHelp logo

vivaxy / gacp Goto Github PK

View Code? Open in Web Editor NEW
175.0 4.0 16.0 7.04 MB

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

Home Page: https://github.com/vivaxy/gacp

License: MIT License

JavaScript 8.57% TypeScript 91.07% Shell 0.36%
git changelog nodejs conventional-changelog gitmoji emoji standard-version commit commit-message commit-conventions

gacp's Introduction

vivaxy

npx vivaxy

Build Status NPM Version NPM Downloads MIT License Standard Version Codecov

gacp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gacp's Issues

建议去掉无意义的磁盘IO

当前流程下,每次提交前会生成histroy文件并写入提交内容,提交成功后删除histroy文件,造成多次无意义磁盘IO

建议改成提交失败时生成histroy文件,提交成功后删除

SyntaxError: Unexpected token function

localhost:~ kevin$ nvm use 6.5.0
Now using node v6.5.0 (npm v6.11.3)
localhost:~ kevin$ gacp
/Users/kevin/.nvm/versions/node/v6.5.0/lib/node_modules/gacp/lib/bin.js:19
async function configureYargs() {
^^^^^^^^
SyntaxError: Unexpected token function
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3

Remove listr

Ouput original information when add commit and push

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

[BUG]history在commit正确提交之后没有被清掉

Describe the bug
我是之前反馈history功能失效的,这次又发现了成功提交commit之后,history还是存在的,这导致我必须写点什么来覆盖之前的history

Screenshots
image

猜测是由于没有正确flushHistory导致?

no-verify 行为异常

3.0.0 版本支持了 no-verify,我在使用的时候发现好像默认是开启 no-verify 的,当我在 配置中添加了 verify: true 后或者是在命令行里添加 --no-verify=true,git 提交时才会触发 husky 配置的 hook 校验

代码里的逻辑是不是写反了,我理解 --no-verify=true 时代表的应该是不校验?

history 功能没了?

以前使用的时候以后有 history 的功能,即执行 gacp 的时候如果被中断了,下次执行的时候会默认选择上次执行时的选项和填充的文字内容,但是不知道从某个版本之后好像这个功能没有了,请问这个是什么原因呢?

`terse` not `tense`

I noticed that gacp is asking me to write a short, imperative tense description. I think the word to be used is terse.

fatal 'origin\nupstream' does not appear to be a git repository

whenever I used GACP on a fork of a repository, and I have multiple remotes (origin & upstream), gacp fails to push with an error like:

 2 files changed, 20 insertions(+)
fatal: 'origin
upstream' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

as you can see, there's definitely something off with this message, and it appears it's getting a list of remotes, and using both (with a newline between them) in the command.

gacp should probably not assume which remote to push to. Simply using the tracking of the branch should be enough.

Incorrect param --follow-tag in git push

It should be --follow-tags

$ git help push | grep "\-\-follow-tag"
  git push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]

Avoid using git add .

Hi

Any change to get a config option to avoid committing all files? I'd like to split the commits but currently, all files get added & committed?

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.