https://github.com/go-git/go-git-fixtures
Several git fixtures to run go-git tests
https://github.com/go-git/go-git-fixtures
Last synced: 6 months ago
JSON representation
Several git fixtures to run go-git tests
- Host: GitHub
- URL: https://github.com/go-git/go-git-fixtures
- Owner: go-git
- License: apache-2.0
- Created: 2020-03-09T23:25:00.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-06-01T17:03:16.000Z (6 months ago)
- Last Synced: 2025-06-16T04:15:10.527Z (6 months ago)
- Language: Go
- Homepage:
- Size: 92.2 MB
- Stars: 3
- Watchers: 3
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-git-fixtures [](https://pkg.go.dev/github.com/go-git/go-git-fixtures/v6) [](https://github.com/go-git/go-git-fixtures/actions?query=workflow%3ATest) [](https://scorecard.dev/viewer/?uri=github.com/go-git/go-git-fixtures)
git repository fixtures used by [go-git](https://github.com/go-git/go-git)
## Adding new Fixtures
### Adding new pack fixtures
1. Get the `.idx` and `.pack` files from the repository:
```sh
git clone https://
cd
git checkout
git gc
ls .git/objects/pack/
```
2. Copy them into `/data`.
3. Add a new entry in `fixtures.go`:
```
{
Tags: []string{"packfile", ""},
PackfileHash: "",
}
```