Giter Site home page Giter Site logo

linxiaowu66 / demo-for-ghooks Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 4 KB

a demo for using ghooks package to normalize the publishing code

Home Page: http://blog.5udou.cn/blog/detail/gitDai-Ma-Shen-Cha-Yi-Ji-logGui-Fan-Hua-De-Jie-Jue-Fang-An-42

License: MIT License

JavaScript 100.00%

demo-for-ghooks's Introduction

Why we need this ?

Your git hooks stay inside the .git folder. Since this folder contains your local project versioning history, it is not versioned. The problem is that even if you create a hook file, you can’t commit this file and push it to your remote, so this file won’t exist for the rest of your team.

What is the purpose ?

  1. using the ghooks
  2. define the correction status and do what you want to do 2.1. use eslint to check your code in the pre-commit status 2.2. generate the default commit log in the prepare-commit-msg status 2.3. verify the commit log format whether it is meet with our defined style

Any extend ?

If you want to do more thing in others status, you can git clone this and test what you want to do.

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.