GithubHelp home page GithubHelp logo

git-ng's Introduction

git-ng

Git subcommand for Angular style commit message.

(actually, only add a prefix to your original commit message)

go get -u github.com/liangzuobin/git-ng
Useage:
  git ng --type-flag subject [-o scope] [-b body] [-e footer]
Example:
  git ng -f new feat
Flags:
  type flag must be (one and only) one of the following:
  -f --feat: A new feature
  -x --fix: A bug fix
  -d --docs: Documentation only changes
  -s --style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  -r --refactor: A code change that neither fixes a bug or adds a feature
  -p --perf: A code change that improves performance
  -t --test: Adding missing tests
  -c --chore: Changes to the build process or auxiliary tools and libraries such as documentation generation

  optional flags:
  -o scope: Scope can be anything specifying place of the commit change
  -b body: Motivation for the change and contrasts with previous behavior
  -e footer: Breaking changes, referencing issues, etc.

Example: (in fish shell)

➜  git-ng master ✓ git ng -f 'more flag' -b '- body
                   - scope
                   - footer'
➜  git-ng master ✓ git log
commit 6e4a2fb41495f41795ed81068f178a7bab9528c1 (HEAD -> master)
Author: liangzuobin <[email protected]>
Date:   Sat Mar 16 15:44:02 2019 +0800

    feat: more flag

    - body
    - scope
    - footer

git-ng's People

Contributors

liangzuobin avatar

Stargazers

 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.