We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cca834 commit d81b81dCopy full SHA for d81b81d
README.md
@@ -7,8 +7,10 @@ All other dependencies are bundled in the source tree and compiled statically.
7
8
## Usage
9
Update your `build.zig.zon`:
10
-```
11
-zig fetch --save https://github.com/allyourcodebase/libgit2/archive/refs/tags/v1.8.1.tar.gz
+```sh
+zig fetch --save git+https://github.com/allyourcodebase/libgit2
12
+# or if you want a tagged release
13
+zig fetch --save https://github.com/allyourcodebase/libgit2/archive/refs/tags/${tag}.tar.gz
14
```
15
16
Then, in your `build.zig`, you can access the library as a dependency:
0 commit comments