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

Hi :wave: I am pretty sure with existing API we are missing `git checkout -- ` https://github.com/src-d/go-git/issues/891 feature. I would like to propose: * Extending `CheckoutOptions` with `Path string` which...

Hi, using `go-git` (`v4.13.1`) I'm trying to accomplish the equivalent of ``` git clone https://github.com/hamcrest/JavaHamcrest.git cd JavaHamcrest git checkout hamcrest-java-1.3 ``` That is, checkout a certain repository tag. However, I...

This PR implements main/common directory support for linked working tree repositories created by `git worktree add` (aka `GIT_COMMON_DIR` as noted in https://git-scm.com/docs/gitrepository-layout). To summarize: - `PlainOpenWithOptions` now checks to see...

I am trying to write a custom git grep wrapper using `go-git`. Essentially trying to replicate ```bash git rev-list --all | xargs git --no-pager grep -i 'search_text' ``` `CommitObjects()` is...

Hi, I'm currently using go-git and I'm facing an issue with PlainClone. Currently I use PlainClone as follow `git.PlainClone(path, false, &git.CloneOptions{ Auth: auth, URL: url, // Where url is defined...

To reproduce: - Clone any Github repository using `git` - Make a change to the repository on Github (not locally) - Build the [pull example](https://github.com/src-d/go-git/blob/master/_examples/pull/main.go) - Run the example with...

Hi, I've been trying to clone a bitbucket repo and I've hit a few issues, first of all it closes the connection and deletes all local files, I've tried different...

bug

As per the compatibility matrix, the git revert functionality is not yet available in go-git. However, I was just wondering if there is any indirect way through which we can...

Hey guys, Great work thanks. Is there any way to get the number of untracked files or commits that have not been pushed yet? Thanks, Ben

Could there be a go-git library equivalent to `git rm --cached`?