# \`zig fetch\`: resolve branch/tag names to commit SHA \(\#19941\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8f6b1f2c38422168d29a6dd6fab61f337430e74e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8f6b1f2c38422168d29a6dd6fab61f337430e74e

Requested commit: 8f6b1f2c38422168d29a6dd6fab61f337430e74e

Commit: 8f6b1f2c38422168d29a6dd6fab61f337430e74e

Tree: bf959e2178d4374690b6590322dccb93c168c958

Author: Christofer Nolander

Committer: GitHub

## Message

```
`zig fetch`: resolve branch/tag names to commit SHA (#19941)

* Revert "Revert "Merge pull request #19349 from nolanderc/save-commit""

This reverts commit 6ca4ed5948d8eaab28fc5e3706aeb1b113a210af.

* update to new URI changes, rework `--save` type

* initialize `latest_commit` to null everywhere
```

## Parents

- [86d8688c7f14d30c66b2cb4b55826ab15b39ad55](https://git.cafe/gitcafe/zig/commit/86d8688c7f14d30c66b2cb4b55826ab15b39ad55?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8f6b1f2c38422168d29a6dd6fab61f337430e74e?format=markdown)
