]> git.proxmox.com Git - libgit2.git/blame - examples/README.md
Add Rules-Requires-Root: no
[libgit2.git] / examples / README.md
CommitLineData
13f9eb24
MS
1libgit2 examples
2================
3
76120863
RB
4These examples are a mixture of basic emulation of core Git command line
5functions and simple snippets demonstrating libgit2 API usage (for use
6with Docurium). As a whole, they are not vetted carefully for bugs, error
7handling, and cross-platform compatibility in the same manner as the rest
8of the code in libgit2, so copy with caution.
6b9a49cd 9
76120863 10That being said, you are welcome to copy code from these examples as
dcfdb977
BS
11desired when using libgit2. They have been [released to the public domain][cc0],
12so there are no restrictions on their use.
13
14[cc0]: COPYING
13f9eb24 15
76120863
RB
16For annotated HTML versions, see the "Examples" section of:
17
18 http://libgit2.github.com/libgit2
19
20such as:
21
22 http://libgit2.github.com/libgit2/ex/HEAD/general.html