pre-commit vs ungit: 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; ungit: The easiest way to use git. On any platform. Anywhere. Clean and intuitive UI that makes it easy to understand git.
pre-commit and ungit 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, ungit provides the following key features:
- Runs on any platform that node.js & git supports.
- Web-based, meaning you can run it on your cloud/pure shell machine and use the ui from your browser (just browse to http://your-cloud-machine.com:8448).
- Works well with GitHub.
pre-commit and ungit are both open source tools. ungit with 8.39K GitHub stars and 543 forks on GitHub appears to be more popular than pre-commit with 755 GitHub stars and 96 GitHub forks.