Libgit
IGNORE THIS! - use libgit2
Install / Use
/learn @schacon/LibgitREADME
libGit Project
Why, oh why would anyone re-implement Git functionality in C? Git is already written in C!
There are two reasons for this insanity. The first is that the core Git code is GPL'd, which means you can't embed it in any commercial or closed source distributed product. We specifically want to do some commercial stuff with Git and don't want to fork out to shell calls to do it.
The second major reason is that this library does not do any command line stuff and never will, so it's not really competing with Git for anything. It is a linked library and is meant to be used by other programs only. It is being built for an Obj-C program, but should be able to be built as bindings for Ruby, Perl or Python (or whatever).
It is not designed to do everything that the core git project can do, it is meant to provide object and packfile read and write access and basic server functions.
Testing libGit
cd test make
Thats about it. It's a pretty simple testing framework, but it'll do.
TODO
Examples : genx Ruby Bindings : http://www.onlamp.com/pub/a/onlamp/2004/11/18/extending_ruby.html
Authors
- Scott Chacon schacon@gmail.com
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
