go-git
go-git copied to clipboard
Project has been moved to: https://github.com/go-git/go-git
I made a quick HTTP frontend to play with the code you have here: https://github.com/src-d/go-git/blob/master/plumbing/transport/server/server.go Providing the constructor a *filesystem.Storage causes me to get `reference delta not found` when I...
how do fetch and pull work? do they get latest commit independent of a new release version/tag? cause i can't see why this is happening. I know fetch should get...
In getHaves, allow the getHavesRef to fail with `object not found` when iterating over incomplete history, and don't treat it as a fatal error. It might also worth to revise...
1) I have a repository that may contain an unreadable files. 2) User that perform go-git commit do not have write permission on that repository(git directory should be created outside...
I am seeing this issue with v4.11.0. Clone is done like this r, err := git.PlainClone(path, false, &git.CloneOptions{ Auth: authmethod, ReferenceName: plumbing.NewBranchReferenceName(branchName), Depth: depth, SingleBranch: singleBranchOnly, URL: gitURL, }) Followed...
Hi, I am trying to clone a git repo (SSH auth) ``` repo, err = git.Clone(memory.NewStorage(), nil, &git.CloneOptions{ URL: , Auth: getAuth(), }) func getAuth() ssh.AuthMethod { auth, _ :=...
Not sure if a first class object to represent the `.gitconfig` file should be provided or if the global config information should be squirreled away inside `config.Config`. There is the...
I've know that go-git supported creating an annotated tag from [issue#430](https://github.com/src-d/go-git/issues/430#issuecomment-357377947). But I couldnot find a way to get: 1. Whether a tag is an annotated tag or a lightweight...
I am deploying my client using Kubernetes and it kept failing with error: `time="2019-03-20T18:06:40Z" level=fatal msg="authentication required"` Made modifications based on this [SO](https://stackoverflow.com/questions/55234675/go-git-authentication-issue-when-using-github-tokens) post: ``` package main import ( "fmt"...
I've been trying and failing to update dependencies by running `go get newdep@version` with `GO111MODULE=on` set in my environment. It would be helpful to have instructions on the correct way...