{"id":21952147,"url":"https://github.com/neontuts/codecrafters-git-typescript","last_synced_at":"2025-03-22T18:12:26.039Z","repository":{"id":253739164,"uuid":"844389183","full_name":"neontuts/codecrafters-git-typescript","owner":"neontuts","description":"Build your own Git challenge from CodeCrafters.","archived":false,"fork":false,"pushed_at":"2024-08-19T07:18:32.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T22:42:15.494Z","etag":null,"topics":["build-your-own-git","build-your-own-x","codecrafters"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/neontuts.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-08-19T06:49:03.000Z","updated_at":"2024-09-07T18:21:48.000Z","dependencies_parsed_at":"2024-08-19T07:27:27.310Z","dependency_job_id":"fdcbb39c-67e7-4455-90d6-d5ee59365692","html_url":"https://github.com/neontuts/codecrafters-git-typescript","commit_stats":null,"previous_names":["neontuts/codecrafters-git-typescript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neontuts%2Fcodecrafters-git-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neontuts%2Fcodecrafters-git-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neontuts%2Fcodecrafters-git-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neontuts%2Fcodecrafters-git-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neontuts","download_url":"https://codeload.github.com/neontuts/codecrafters-git-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999407,"owners_count":20544873,"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-git","build-your-own-x","codecrafters"],"created_at":"2024-11-29T06:20:31.270Z","updated_at":"2025-03-22T18:12:25.994Z","avatar_url":"https://github.com/neontuts.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![progress-banner](https://backend.codecrafters.io/progress/git/4c5bc024-5b75-441a-b323-8bb0abbd8dc8)](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 add .\ngit commit -m \"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%2Fneontuts%2Fcodecrafters-git-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneontuts%2Fcodecrafters-git-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneontuts%2Fcodecrafters-git-typescript/lists"}