Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4ac12634
Commit
4ac12634
authored
Jan 07, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README: instructions for using libgit2 without compiling
parent
c31032a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
README.md
+23
-0
No files found.
README.md
View file @
4ac12634
...
@@ -33,6 +33,7 @@ Additionally, the example code has been released to the public domain (see the
...
@@ -33,6 +33,7 @@ Additionally, the example code has been released to the public domain (see the
Table of Contents
Table of Contents
=================
=================
*
[
Using libgit2
](
#using-libgit2
)
*
[
Quick Start
](
#quick-start
)
*
[
Quick Start
](
#quick-start
)
*
[
Getting Help
](
#getting-help
)
*
[
Getting Help
](
#getting-help
)
*
[
What It Can Do
](
#what-it-can-do
)
*
[
What It Can Do
](
#what-it-can-do
)
...
@@ -52,6 +53,28 @@ Table of Contents
...
@@ -52,6 +53,28 @@ Table of Contents
*
[
How Can I Contribute?
](
#how-can-i-contribute
)
*
[
How Can I Contribute?
](
#how-can-i-contribute
)
*
[
License
](
#license
)
*
[
License
](
#license
)
Using libgit2
=============
Most of these instructions assume that you're writing an application
in C and want to use libgit2 directly. If you're _not_ using C,
and you're writing in a different language or platform like .NET,
Node.js, or Ruby, then there is probably a
"
[
language binding
](
#language-bindings
)
" that you can use to take care
of the messy tasks of calling into native code.
But if you _do_ want to use libgit2 directly - because you're building
an application in C - then you may be able use an existing binary.
There are packages for the
[
vcpkg
](
https://github.com/Microsoft/vcpkg
)
and
[
conan
](
https://conan.io/center/libgit2
)
package managers. And libgit2 is available in
[
Homebrew
](
https://formulae.brew.sh/formula/libgit2
)
and most Linux
distributions.
However, these versions _may_ be outdated and we recommend using the
latest version if possible. Thankfully libgit2 is not hard to compile.
Quick Start
Quick Start
===========
===========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment