{"id":29661691,"url":"https://github.com/ssrathi/golang_git","last_synced_at":"2025-07-22T10:07:44.888Z","repository":{"id":57553296,"uuid":"262480698","full_name":"ssrathi/gogit","owner":"ssrathi","description":"Implementation of git internals from scratch in Go language","archived":false,"fork":false,"pushed_at":"2022-04-30T18:47:21.000Z","size":572,"stargazers_count":49,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T23:18:24.408Z","etag":null,"topics":["git","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ssrathi.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}},"created_at":"2020-05-09T03:28:30.000Z","updated_at":"2025-06-18T14:28:50.000Z","dependencies_parsed_at":"2022-09-26T18:50:59.632Z","dependency_job_id":null,"html_url":"https://github.com/ssrathi/gogit","commit_stats":null,"previous_names":["ssrathi/golang_git"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ssrathi/gogit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssrathi%2Fgogit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssrathi%2Fgogit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssrathi%2Fgogit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssrathi%2Fgogit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssrathi","download_url":"https://codeload.github.com/ssrathi/gogit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssrathi%2Fgogit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266473107,"owners_count":23934477,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","go","golang"],"created_at":"2025-07-22T10:07:44.726Z","updated_at":"2025-07-22T10:07:44.863Z","avatar_url":"https://github.com/ssrathi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Builds](https://github.com/ssrathi/gogit/workflows/Build/badge.svg?branch=master)](https://github.com/ssrathi/gogit/actions?query=branch%3Amaster+workflow%3ABuild)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ssrathi/gogit)](https://goreportcard.com/report/github.com/ssrathi/gogit)\n[![GoDoc](https://godoc.org/github.com/ssrathi/gogit?status.svg)](https://godoc.org/github.com/ssrathi/gogit)\n\n\u003cimg src=\"https://raw.githubusercontent.com/ssrathi/gogit/master/assets/cover.png\" width=\"200\"/\u003e\n\n# gogit\n\nImplementation of git internal commands in Go language.\n\nThis project is part of a learning exercise to implement a subset of \"git\"\ncommands. It can be used to create and maintain git objects, such as blobs,\ntrees, commits, references and tags.\n\n[\u003cimg src=\"https://asciinema.org/a/331278.svg\" alt=\"demo\" width=\"400\" height=\"240\"/\u003e](https://asciinema.org/a/331278?speed=2\u0026autoplay=1\u0026t=8)\n\n# Video with explanation\n\nThis video is a supplemental tech-talk recording explaining the internals of \"git\" (Delievered at Nutanix, Inc, 2020)\n\n[\u003cimg src=\"https://raw.githubusercontent.com/ssrathi/gogit/master/assets/tech-talk.jpg\" alt=\"tech-talk\" width=\"440\" height=\"220\"/\u003e](https://players.brightcove.net/5850956868001/default_default/index.html?videoId=6304540004001)\n\n## Supported commands\n```\ngogit - the stupid content tracker\n\nusage: gogit \u003ccommand\u003e [\u003cargs\u003e]\nValid commands:\n  init           Create an empty Git repository\n  hash-object    Compute object ID and optionally creates a blob from a file\n  cat-file       Provide content or type and size information for repository objects\n  ls-tree        List the contents of a tree object\n  mktree         Build a tree-object from ls-tree formatted text\n  checkout       restore working tree files\n  commit-tree    Create a new commit object\n  log            Shows the commit logs\n  show-ref       List references in a local repository\n  update-ref     Update the object name stored in a ref safely\n  rev-parse      Parse a given git identifier\n\nUse \"gogit \u003ccommand\u003e --help\" for help on a specific command\n```\n\n## Installation\n```\ngo get github.com/ssrathi/gogit\n```\n\n## Contributing\n\nContributions are most welcome! Please create a new issue and link your PR to it.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssrathi%2Fgolang_git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssrathi%2Fgolang_git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssrathi%2Fgolang_git/lists"}