git2go
git2go copied to clipboard
Git to Go; bindings for libgit2. Like McDonald's but tastier.
Using this file: ~~~go package main import "github.com/libgit2/git2go/v31" func main() { git.Clone("git://github.com/libgit2/git2go", "git2go", nil) } ~~~ If I compile like this: ~~~ go build -tags static,system_libgit2 ~~~ I get this...
As the title says, anyone knows how to delete a remote branch? I'm trying to base myself on examples from other languages, to no success. This shows some of the...
Hi all, I want to clone specific tag from my repository in bitbucket. Now I am able to clone just the whole repository. What should I add to my code...
Hey, i'd like to give it a try to git2go storing users' repositories through https but keeping them in a database (either redis/mysql) - i.e, not in the local filesystem....
Add [git_worktree_list](https://github.com/libgit2/libgit2/blob/90500d81dcb04ae3bdaf0f6211ca8754d9425b70/src/worktree.c#L33) support.
I've found that I am frequently having to use the libgit2 [function reference](https://libgit2.github.com/libgit2) in order to figure out how to use git2go methods. It would be great if an effort...
running GOOS=windows GOARCH=386 go build -o app.exe app.go getting go build github.com/libgit2/git2go: build constraints exclude all Go files any suggestions on how to get this cross-compile working?
Repository methods include: ```go func (r *Repository) AddGitIgnoreRules(rules string) error func (v *Repository) AddIgnoreRule(rules string) error func (r *Repository) ClearGitIgnoreRules() error func (v *Repository) ClearInternalIgnoreRules() error ``` The implementation is...
It appears that some parts of git2go, such as enums, could be fairly straightforwardly autogenerated from the C headers. This would make them easier to maintain (instead of pulling in...
I keep discovering missing bits of libgit2 in git2go. Along the lines of #427, it strikes me that it'd be useful to have a coverage report (maybe run in CI?)...