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 101 go-git issues
Sort by recently updated
recently updated
newest added

`Depth: 1` clones fail to pull in new commits from a remote In this example: - There is a repository with three commits - Two workers clone it with `Depth:...

bug

`AddGlob("*")` includes the `.git` folder into the commit, completely breaking the repo. `AddGlob("*")` should skip the `.git` folder.

Hi, I currently use a ``` repo, err := git.PlainClone(dir, isBare, options) ``` with great, success. Thanks! This uses the local OS filesystem, and I'd like to use one of...

My issue is that the repository.Log with filename provided as an option will not search for changed directories by name, like the functionality in git log.

I was surprised that this doesn't seem to be supported... In command line i can simply do: ``` git add ``` but in go-git I guess i would need to...

Signed-off-by: Jeremiah Mahler

Currently i have been using : ``` // Check the remote commit history for a Git repository func repoHasRemoteCommits(r *git.Repository) bool { var hasRemoteCommits bool revision := "origin/master" _, err...

Hey all, I've been trying to get a gitignore to work with this package and I cant seem to get it to work. The gitignore is in the root of...

I have code that operates on a shallow clone and needs to progressively fetch greater depth until it finds the change it is looking for. Basically this: ```go func (repo...

Currently, there's no way to directly unshallow a repo clone; the workaround is to fetch with `Depth: `. It'd be nice if there were a way to do the equivalent...

enhancement