go-git icon indicating copy to clipboard operation
go-git copied to clipboard

Project has been moved to: https://github.com/go-git/go-git

Results 102 go-git issues
Sort by recently updated
recently updated
newest added

Need support for branching and three-way merge capabilities in go-git which bring it closer to libgit2 in comparison. Many use cases for embedding git need these features.

enhancement
help wanted
porcelain

So to do a "normal" diff I would get my two different `*object.Tree` instances and use `object.DiffTree`. However with staged changes I'm unsure of how to get a tree, if...

When I import `go-git.v4 v4.13.1` with `k8s.io/[email protected]`, I get a build failure. ``` $ go run cmd/server/main.go # gopkg.in/src-d/go-git.v4/plumbing/transport/ssh ../../pkg/mod/gopkg.in/src-d/[email protected]/plumbing/transport/ssh/common.go:147:15: undefined: proxy.Dial ``` my go.mod ```diff module example go 1.13...

I can't clone from private repository. I found out that go-git checking in method `createHeadIfCorrectReference` if `reference.Hash() == *a.Head` but my repo not contain reference that commit is equal to...

Hi there, I removed files by os.RemoveAll and then add, but that's didn't work, the code as belows: //remove local files os.RemoveAll(path) // add files, prepare commit and push repo,...

Can you give me example how to remove tag (lightweight or annotated) in local and remote? I already tried to find it in this repository but still not found :(

My application running from a `scratch` Docker image, which means the only executable in it is the statically compiled application binary. When running `r, err := git.Init(memory.NewStorage(), nil)` this error...

enhancement
help wanted

There is a common Windows issue with Unix executables in it: cloning those in Windows leads to differences between the filesystem and the git index because Windows reports 10644 for...

enhancement
windows
porcelain

Before this change, when adding an "executable" file with `worktree.Add()`, something really strange happened: the git index file entry associated with that file had its SHA1 updated but **not** its...

I'm trying to open a local repo and pull it. I want to checkout a specific branch identified by the var `branch`. I'm doing the following: ``` dir, err :=...