pre-commit vs pre-commit by Yelp

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

pre-commit

1.3K
44
+ 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.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
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?
    See which teams inside your own company are using pre-commit or pre-commit by Yelp.
    Sign up for StackShare EnterpriseLearn 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?
    hub
    hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier.
    Git Flow
    It provides excellent command line help and output. It is a merge based solution. It doesn't rebase feature branches.
    Git-Repo
    Control your remote git hosting services from the git commandline. The usage is very simple.
    Atlassian Stash
    It is a centralized solution to manage Git repositories behind the firewall. Streamlined for small agile teams, powerful enough for large organizations.
    TortoiseGit
    It is a Git revision control client, implemented as a Windows shell extension and based on TortoiseSVN. It is free software released under the GNU General Public License.
    See all alternatives