CGit2

master

Swift Bindings for libgit2
therealbnut/swift-libgit2

Swift libgit2

This is a Swift package manager module map for libgit2. It assumes that you installed libgit2 with a prefix of /usr/local, which is the default for homebrew (brew install libgit2).

It's intended to just expose the c library to Swift.

To use add this to your Package.swift file dependencies:

.Package(url: "https://github.com/therealbnut/swift-libgit2.git", majorVersion: 1)

You can then import it like this:

import Git2

Description

  • Swift Tools 3.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Apr 09 2026 01:24:15 GMT-0900 (Hawaii-Aleutian Daylight Time)