{"id":22662764,"url":"https://github.com/md-talim/git-implementation-ts","last_synced_at":"2026-04-29T18:33:46.357Z","repository":{"id":265481615,"uuid":"895674954","full_name":"Md-Talim/git-implementation-ts","owner":"Md-Talim","description":"A TypeScript implementation of Git's core features, built as part of the \"Build Your Own Git\" challenge.","archived":false,"fork":false,"pushed_at":"2024-11-29T14:35:46.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T09:13:25.242Z","etag":null,"topics":["build-your-own-x","git","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Md-Talim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-28T16:52:13.000Z","updated_at":"2024-11-29T14:35:49.000Z","dependencies_parsed_at":"2024-11-29T15:34:55.178Z","dependency_job_id":"78d4e1f1-f768-4295-b3bb-dc4e058c6dc4","html_url":"https://github.com/Md-Talim/git-implementation-ts","commit_stats":null,"previous_names":["md-talim/git-implementation-ts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Talim%2Fgit-implementation-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Talim%2Fgit-implementation-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Talim%2Fgit-implementation-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Talim%2Fgit-implementation-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Md-Talim","download_url":"https://codeload.github.com/Md-Talim/git-implementation-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246162155,"owners_count":20733357,"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":["build-your-own-x","git","typescript"],"created_at":"2024-12-09T12:15:26.299Z","updated_at":"2026-04-29T18:33:46.287Z","avatar_url":"https://github.com/Md-Talim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![progress-banner](https://backend.codecrafters.io/progress/git/c2c3c1dc-2eaf-4f3a-9640-d445ba24e0ff)](https://app.codecrafters.io/users/codecrafters-bot?r=2qF)\n\nThis is a starting point for TypeScript solutions to the\n[\"Build Your Own Git\" Challenge](https://codecrafters.io/challenges/git).\n\nIn this challenge, you'll build a small Git implementation that's capable of\ninitializing a repository, creating commits and cloning a public repository.\nAlong the way we'll learn about the `.git` directory, Git objects (blobs,\ncommits, trees etc.), Git's transfer protocols and more.\n\n**Note**: If you're viewing this repo on GitHub, head over to\n[codecrafters.io](https://codecrafters.io) to try the challenge.\n\n# Passing the first stage\n\nThe entry point for your Git implementation is in `app/main.ts`. Study and\nuncomment the relevant code, and push your changes to pass the first stage:\n\n```sh\ngit commit -am \"pass 1st stage\" # any msg\ngit push origin master\n```\n\nThat's all!\n\n# Stage 2 \u0026 beyond\n\nNote: This section is for stages 2 and beyond.\n\n1. Ensure you have `bun (1.1)` installed locally\n1. Run `./your_program.sh` to run your Git implementation, which is implemented\n   in `app/main.ts`.\n1. Commit your changes and run `git push origin master` to submit your solution\n   to CodeCrafters. Test output will be streamed to your terminal.\n\n# Testing locally\n\nThe `your_program.sh` script is expected to operate on the `.git` folder inside\nthe current working directory. If you're running this inside the root of this\nrepository, you might end up accidentally damaging your repository's `.git`\nfolder.\n\nWe suggest executing `your_program.sh` in a different folder when testing\nlocally. For example:\n\n```sh\nmkdir -p /tmp/testing \u0026\u0026 cd /tmp/testing\n/path/to/your/repo/your_program.sh init\n```\n\nTo make this easier to type out, you could add a\n[shell alias](https://shapeshed.com/unix-alias/):\n\n```sh\nalias mygit=/path/to/your/repo/your_program.sh\n\nmkdir -p /tmp/testing \u0026\u0026 cd /tmp/testing\nmygit init\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd-talim%2Fgit-implementation-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmd-talim%2Fgit-implementation-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd-talim%2Fgit-implementation-ts/lists"}