pre-commit vs pre-commit by Yelp

Need advice about which tool to choose?Ask the StackShare community!

pre-commit

687
43
+ 1
0
pre-commit by Yelp

25
18
+ 1
3
Add tool

pre-commit vs pre-commit by Yelp: What are the differences?

pre-commit: A slightly improved pre-commit hook for git. pre-commit checks your code for errors before you commit it. pre-commit is configurable; pre-commit by Yelp: A framework for managing and maintaining multi-language pre-commit hooks. If one of your developers doesn’t have node installed but modifies a JavaScript file, pre-commit automatically handles downloading and building node to run jshint without root. Pre-commit is a multi-language package manager for pre-commit hooks. You specify a list of hooks you want and pre-commit manages the installation and execution of any hook written in any language before every commit. pre-commit is specifically designed to not require root access.

pre-commit and pre-commit by Yelp can be categorized as "Git" tools.

Some of the features offered by pre-commit are:

  • debugger: make sure you don't commit a debugger statement
  • tabs: make sure your code uses leading spaces instead of tabs
  • whitespace: make sure you don't commit trailing whitespace

On the other hand, pre-commit by Yelp provides the following key features:

  • node
  • python
  • ruby

pre-commit and pre-commit by Yelp are both open source tools. pre-commit by Yelp with 3.09K GitHub stars and 234 forks on GitHub appears to be more popular than pre-commit with 755 GitHub stars and 96 GitHub forks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of pre-commit
Pros of pre-commit by Yelp
    Be the first to leave a pro
    • 2
      Multiple language support
    • 1
      Modular

    Sign up to add or upvote prosMake informed product decisions

    What is pre-commit?

    pre-commit checks your code for errors before you commit it. pre-commit is configurable.

    What is pre-commit by Yelp?

    If one of your developers doesn’t have node installed but modifies a JavaScript file, pre-commit automatically handles downloading and building node to run jshint without root. Pre-commit is a multi-language package manager for pre-commit hooks. You specify a list of hooks you want and pre-commit manages the installation and execution of any hook written in any language before every commit. pre-commit is specifically designed to not require root access.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use pre-commit?
    What companies use pre-commit by Yelp?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What are some alternatives to pre-commit and pre-commit by Yelp?
    Git
    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
    GitHub
    GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
    Visual Studio Code
    Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
    Docker
    The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
    npm
    npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
    See all alternatives