是什么 ? | : | a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language which supports C bindings. |
开发语言 | : | C |
官方主页 | : | https://libgit2.org |
源码仓库 | : | https://github.com/libgit2/libgit2 |
操作系统 | 包管理器 | 安装命令 |
---|---|---|
All | vcpkg | vcpkg install libgit2 vcpkg install libgit2:x64-osx vcpkg install libgit2:x64-linux vcpkg install libgit2:x64-windows |
macOS | HomeBrew | brew install libgit2 |
GNU/Linux | HomeBrew | brew install libgit2 |
apt | sudo apt-get install -y libgit21g libgit21g-dev | |
CentOS | yum | sudo yum install -y libgit2 libgit2-devel |
dnf | sudo dnf install -y libgit2 libgit2-devel | |
openSUSE | zypper | sudo zypper install -y libgit2 libgit2-devel |
Alpine Linux | apk | sudo apk add libgit2 |
pacman | sudo pacman -Syyu --noconfirm | |
Gentoo Linux | Portage | sudo emerge libgit2 |