tree: be2da6bb963f1daf0521da7063eedf23979924d1 [path history] [tgz]
  1. network/
  2. test/
  3. .gitignore
  4. add.c
  5. cat-file.c
  6. CMakeLists.txt
  7. diff.c
  8. general.c
  9. init.c
  10. log.c
  11. Makefile
  12. README.md
  13. rev-list.c
  14. rev-parse.c
  15. showindex.c
  16. status.c
examples/README.md

libgit2 examples

These examples are meant as thin, easy-to-read snippets for Docurium (https://github.com/github/docurium) rather than full-blown implementations of Git commands. They are not vetted as carefully for bugs, error handling, or cross-platform compatibility as the rest of the code in libgit2, so copy with some caution.

For HTML versions, check “Examples” at http://libgit2.github.com/libgit2