Need advice about which tool to choose?Ask the StackShare community!
go-git vs pre-commit by Yelp: What are the differences?
go-git: Low-level and extensible Git client library in Go *. A low level and highly extensible git client library for reading repositories from git servers. It is written in Go from scratch, without any C dependencies; *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.
go-git and pre-commit by Yelp belong to "Git Tools" category of the tech stack.
go-git and pre-commit by Yelp are both open source tools. It seems that go-git with 4.12K GitHub stars and 433 forks on GitHub has more adoption than pre-commit by Yelp with 3.09K GitHub stars and 234 GitHub forks.
Pros of go-git
Pros of pre-commit by Yelp
- Multiple language support2
- Modular1