libgit2@1.8

C library providing Git core methods as a re-entrant linkable interface

brewmacoslinux
Try with needOr install directly
Source

About

C library of Git core methods that is re-entrant and linkable

Commands

libgit2@1.8

Examples

Link libgit2@1.8 in a C/C++ project by including headers and linking the library during compilation$ gcc -I$(brew --prefix libgit2@1.8)/include -L$(brew --prefix libgit2@1.8)/lib myprogram.c -lgit2 -o myprogram
Find the installation path to use in pkg-config or build systems$ brew --prefix libgit2@1.8
Verify libgit2 library files and headers are properly installed$ ls $(brew --prefix libgit2@1.8)/lib && ls $(brew --prefix libgit2@1.8)/include/git2