https://github.com/libgit2/luagit2
Lua bindings for libgit2
https://github.com/libgit2/luagit2
Last synced: 3 months ago
JSON representation
Lua bindings for libgit2
- Host: GitHub
- URL: https://github.com/libgit2/luagit2
- Owner: libgit2
- License: mit
- Created: 2011-02-26T16:45:58.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2025-07-29T10:07:15.000Z (5 months ago)
- Last Synced: 2025-07-29T11:54:06.036Z (5 months ago)
- Language: C
- Homepage: http://libgit2.github.com
- Size: 358 KB
- Stars: 168
- Watchers: 14
- Forks: 29
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
luagit2
=======
LibGit2 bindings for Lua. [API Docs](http://libgit2.github.io/luagit2/)
libgit2 version
---------------
Currently supports version >= 0.17
Installing
----------
### Install lua-git2 release 0.1:
luarocks install lua-git2
### Install lua-git2 from github:
luarocks install https://raw.githubusercontent.com/libgit2/luagit2/refs/heads/master/rockspecs/lua-git2-scm-0.rockspec
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](https://github.com/Neopallium/LuaNativeObjects), this is the bindings generator used to convert the `*.nobj.lua` files into a native Lua module.