Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Node.js bindings for libgit2
JavaScript C++ CSS Python Makefile CoffeeScript C

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
deps
examples
lib/bindings
src
test
.gitignore
.gitmodules
.node-version
.npmignore
.travis.yml
CHANGELOG.md
Cakefile
LIBGIT2_BUGS.md
LICENSE
README.md
TODO.md
binding.gyp
install.js
package.json
preinstall.js

README.md

Gitteh v0.17.2

build status

Installation

Gitteh requires node 0.8, CMake 2.6 and gcc. Installation via NPM:

npm install gitteh

What?

Node bindings to the excellent libgit2 C library. Right now, the bindings cover read only access to raw objects (trees/commits/blobs/tags/references), and basic access to remotes (including basic cloning/fetching support).

Gitteh aims to:

  • Be simple and convenient
  • Be as performant as possible - avoids calling into underlying C library as much as possible.
  • Be safe for use in Node's threadpool (read: shouldn't segfault your app)

Why?

There's a few libraries out there that wrap git cli commands, parsing the output and such. This is a perfectly acceptable solution. Node-gitteh provides first-class support to work with a git repository on a low level, and does not require git.git (and its myriad of dependencies) to be installed in the server environment.

Documentation can be found here. You should also check out the examples in the examples/ dir in the repo.

License

Gitteh is available under the MIT License. See the LICENSE file for more information.

Contributing

Contributions are very welcome. Please feel free to fork this project and hack on it. Go ahead and check out the issues tab to see what needs to be done! Go on! Do it!

Something went wrong with that request. Please try again.