1

Prerequisites

You will need the Go 1.20+ toolchain installed on your local machine.

$go version
2

Install the CLI

Pull the latest version directly from the source repository.

terminal
go install github.com/jhanvi857/gitresolve@latest

Make sure your $GOPATH/bin is included in your system PATH.

3

Verify Installation

Test the installation by confirming the version and help outputs.

terminal
gitresolve --help
4

Security & Integrity

For production environments, verify the integrity of the binary using checksums and Cosign signatures.

verification
cosign verify-blob --certificate checksums.txt.pem --signature checksums.txt.sig checksums.txt
5

Workspace Setup (Optional)

Configure ownership and specialized rules in a .gitresolve/owners.json file for enterprise scalability.

.gitresolve/owners.json
{ "frontend_team": ["web/**", "components/**"], "platform_team": ["pkg/**", "internal/cloud/**"], "security_team": ["internal/secrets/**"] }

Enterprise Support

For air-gapped environments or secure server deployments, gitresolve can be compiled into a static binary with CGO_ENABLED=0 for zero-dependency execution. Contact our engineering team for specialized compliance support.