feat(repo): add +git-tree and +blob for low-level git objects #388
Loading…
Reference in New Issue
No description provided.
Delete Branch "Taoyouce/gitlink-cli:feat/repo-git-objects"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The v1 API exposes raw git objects (
GET /v1/:owner/:repo/git/trees/:sha,/git/blobs/:sha) but the CLI had no coverage. Two new repo subcommands:repo +tree(sub_entries) shows one directory level of the working tree;+git-tree/+blobgive direct object access — useful for scripting, content pipelines, and agents that walk a repo without checking it out.Validation
go test ./...,go vet,gofmtall clean.