{"id":24580123,"url":"https://github.com/dplocki/codecrafters-git-csharp","last_synced_at":"2025-03-17T15:23:16.169Z","repository":{"id":270086648,"uuid":"909300587","full_name":"dplocki/codecrafters-git-csharp","owner":"dplocki","description":"The C# solutions to the \"Build Your Own Git\" Challenge","archived":false,"fork":false,"pushed_at":"2025-01-23T20:17:06.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T21:23:17.435Z","etag":null,"topics":["codecrafters","codecrafters-challenge"],"latest_commit_sha":null,"homepage":"https://app.codecrafters.io/courses/git","language":"C#","has_issues":false,"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/dplocki.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-12-28T09:39:22.000Z","updated_at":"2025-01-23T20:17:09.000Z","dependencies_parsed_at":"2025-01-23T21:23:27.929Z","dependency_job_id":null,"html_url":"https://github.com/dplocki/codecrafters-git-csharp","commit_stats":null,"previous_names":["dplocki/dplocki-codecrafters-git-csharp","dplocki/codecrafters-git-csharp"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplocki%2Fcodecrafters-git-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplocki%2Fcodecrafters-git-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplocki%2Fcodecrafters-git-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplocki%2Fcodecrafters-git-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dplocki","download_url":"https://codeload.github.com/dplocki/codecrafters-git-csharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056432,"owners_count":20390720,"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":["codecrafters","codecrafters-challenge"],"created_at":"2025-01-24T01:44:20.737Z","updated_at":"2025-03-17T15:23:16.149Z","avatar_url":"https://github.com/dplocki.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![progress-banner](https://backend.codecrafters.io/progress/git/821d0176-3430-4be2-b61c-aa901681d170)](https://app.codecrafters.io/users/codecrafters-bot?r=2qF)\n\nThis is a starting point for C# 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 `src/Program.cs`. 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 `dotnet (9.0)` installed locally\n1. Run `./your_program.sh` to run your Git implementation, which is implemented\n   in `src/Program.cs`.\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%2Fdplocki%2Fcodecrafters-git-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdplocki%2Fcodecrafters-git-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdplocki%2Fcodecrafters-git-csharp/lists"}