Skip to content
Lua bindings for libgit2
C Lua


LibGit2 bindings for Lua. API Docs

libgit2 version

Currently supports version v0.17.0


Install lua-git2:

luarocks install

To re-generating the bindings

You will need to install LuaNativeObjects and set the CMake variable USE_PRE_GENERATED_BINDINGS to FALSE. By default CMake will use the pre-generated bindings that are include in the project.

Build Dependencies

Optional dependency for re-generating Lua bindings from *.nobj.lua files:

  • LuaNativeObjects, this is the bindings generator used to convert the *.nobj.lua files into a native Lua module.
Something went wrong with that request. Please try again.