libgit2/git2go
View on GitHub ↗ ★ 2,004 Go
Git to Go; bindings for libgit2. Like McDonald's but tastier.
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2015-12-14 · latest 2025-07-20
20082026
-
…choose (as others stated they would or prefer) to call out to an external program instead of using https://github.com/libgit2/git2go (libgit2, FFI) for example? For what it is worth, there is also a pure Go implementation:…
comment by johnisgood · 2025-07-20 · in Show HN: ggc – A terminal-based Git CLI written in Go -
…bindings[2]. I'm sure there are more implementations. [1]: https://github.com/jelmer/dulwich [2]: https://github.com/libgit2/git2go
comment by TkTech · 2023-07-29 · in Show HN: Gogit – Just enough Git (in Go) to push itself to GitHub -
…://github.com/libgit2/libgit2#language-bindings [1] - https://github.com/nodegit/nodegit/issues [2] - https://github.com/libgit2/git2go/issues [3] - https://github.com/libgit2/pygit2/issues
comment by gravypod · 2021-03-09 · in Write libraries instead of services, where possible -
…often you end up using xargs...) An example set of tools: https://golang.org/pkg/html/template/ + https://github.com/libgit2/git2go . It's not as succinct as a bash script but it's easier to build something that's correct. Use the shell to…
comment by jacobparker · 2017-09-20 · in How to Quickly and Correctly Generate a Git Log in HTML -
…to learn. When building a tool that uses git I'm wondering if it is better practice to use git2go ( https://github.com/libgit2/git2go ) or to do what this author did which is wrap the git command line tool:…
comment by flyinprogramer · 2015-12-14 · in Git-appraise: Distributed code review system for Git repos