pre-commit logo

pre-commit

A slightly improved pre-commit hook for git
27
18
+ 1
0

What is pre-commit?

pre-commit checks your code for errors before you commit it. pre-commit is configurable.
pre-commit is a tool in the Git Tools category of a tech stack.
pre-commit is an open source tool with 754 GitHub stars and 95 GitHub forks. Here’s a link to pre-commit's open source repository on GitHub

Who uses pre-commit?

Companies
7 companies reportedly use pre-commit in their tech stacks, including Fluxible, reSolve, and sanity.

Developers
18 developers on StackShare have stated that they use pre-commit.

Why developers like pre-commit?

Here’s a list of reasons why companies and developers use pre-commit
Top Reasons
Be the first to leave a pro

pre-commit's Features

  • 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
  • jslint: syntax check your javascript before you commit it
  • ci: run a quick test suite before you commit

pre-commit Alternatives & Comparisons

What are some alternatives to pre-commit?
pre-commit
pre-commit checks your code for errors before you commit it. pre-commit is configurable.
Diff So Fancy
diff-so-fancy builds on the good-lookin' output of git contrib's diff-highlight to upgrade your diffs' appearances.
Atlassian Stash
It is a centralized solution to manage Git repositories behind the firewall. Streamlined for small agile teams, powerful enough for large organizations.
Git Flow
It provides excellent command line help and output. It is a merge based solution. It doesn't rebase feature branches.
GVFS
GVFS virtualizes the file system beneath your git repo so that git and all tools see a fully hydrated repo, but GVFS only downloads objects as they are needed. GVFS also manages git's sparse-checkout to ensure that git operations like status, checkout, etc., can be as quick as possible.
See all alternatives

pre-commit's Followers
18 developers follow pre-commit to keep up with related blogs and decisions.
John Alton
Francisco Pizarro
Eko Purnomo
Jimmy02020
Glib Ischenko
Toño Ramos
sickhye
Hary Selman
jhgjhtuytdfbnfvmnbgjtuydt
Sean Sullivan