{"id":20972470,"url":"https://github.com/dantecatalfamo/zig-git","last_synced_at":"2026-03-15T07:12:37.854Z","repository":{"id":65097803,"uuid":"578783996","full_name":"dantecatalfamo/zig-git","owner":"dantecatalfamo","description":"Implementing git structures and functions in zig","archived":false,"fork":false,"pushed_at":"2023-11-14T19:32:24.000Z","size":124,"stargazers_count":34,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T06:08:35.450Z","etag":null,"topics":["git","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dantecatalfamo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-12-15T21:52:33.000Z","updated_at":"2025-02-05T05:40:40.000Z","dependencies_parsed_at":"2023-11-14T20:30:56.836Z","dependency_job_id":null,"html_url":"https://github.com/dantecatalfamo/zig-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fzig-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fzig-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fzig-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fzig-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dantecatalfamo","download_url":"https://codeload.github.com/dantecatalfamo/zig-git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254132000,"owners_count":22020060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","zig"],"created_at":"2024-11-19T04:08:24.232Z","updated_at":"2026-03-15T07:12:32.812Z","avatar_url":"https://github.com/dantecatalfamo.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zig-git\n\nImplementing git structures and functions in pure zig.\n\nStill very much a work in progress. Some commands are redundant and some will get replaced.\n\nThis project is primarily for learning purposes and not meant to be a replacement for something like libgit2.\n\nIt doesn't support pack deltas yet.\n\n## Command\n\nThe `zig-git` command currently supports the following subcommands:\n* `add \u003ctarget\u003e` - Add a file or directory to the git index\n* `branch` - List current branches (`refs/heads/`) in a format similar to `git branch`\n* `branch-create \u003cname\u003e` - Create a new branch from the current branch\n* `checkout` - Checkout a ref or commit\n* `commit` - Commit the current index (as a test, doesn't use correct information)\n* `index` - List out the content of the index\n* `init [directory]` - Create a new git repository\n* `log` - List commits\n* `read-commit \u003chash\u003e` - Parse and display a commit\n* `read-object \u003chash\u003e` - Dump the decompressed contents of an object to stdout\n* `read-pack \u003cid\u003e` - Parse a pack file and iterate over its contents\n* `read-pack-index \u003cid\u003e \u003chash\u003e` - Search a pack file index for the offset of an object with a hash in a pack file\n* `read-ref [ref]` - Display a ref and what it points to, or all refs if no argument is given\n* `read-tag [ref]` - Parse and display a tag\n* `read-tree \u003cname\u003e` - Parse and display the all files in a tree\n* `refs` - List all refs\n* `rm \u003cfile\u003e` - Remove file from index\n* `root` - Print the root of the current git project\n* `status` - Branch status\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantecatalfamo%2Fzig-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdantecatalfamo%2Fzig-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantecatalfamo%2Fzig-git/lists"}