{"id":21346785,"url":"https://github.com/craigtaub/our-own-git","last_synced_at":"2025-07-12T17:31:14.804Z","repository":{"id":44734087,"uuid":"325355573","full_name":"craigtaub/our-own-git","owner":"craigtaub","description":"Git in ~100 lines of code","archived":false,"fork":false,"pushed_at":"2022-01-28T00:11:48.000Z","size":21,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-04-12T09:44:18.962Z","etag":null,"topics":["git","github","javascript","nodejs","version-control-system"],"latest_commit_sha":null,"homepage":"https://craigtaub.dev/under-the-hood-of-git","language":"JavaScript","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/craigtaub.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}},"created_at":"2020-12-29T18:10:01.000Z","updated_at":"2023-01-16T21:49:05.000Z","dependencies_parsed_at":"2022-08-27T16:41:04.147Z","dependency_job_id":null,"html_url":"https://github.com/craigtaub/our-own-git","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craigtaub%2Four-own-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craigtaub%2Four-own-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craigtaub%2Four-own-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craigtaub%2Four-own-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/craigtaub","download_url":"https://codeload.github.com/craigtaub/our-own-git/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225829064,"owners_count":17530666,"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","github","javascript","nodejs","version-control-system"],"created_at":"2024-11-22T02:11:08.864Z","updated_at":"2024-11-22T02:11:09.299Z","avatar_url":"https://github.com/craigtaub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# our-own-git\n\nGit in \u003c100 lines of code.\n\n## Included\n\n- repository\n- working directory\n- staging\n- comitting\n- status checks\n\n## Not included\n\n- comparing change chunks\n- packfiles\n- deltas\n- branches\n- tags\n- merging\n\n## Commands\n\n- `npm run test` -\u003e run integration tests\n- `npm run repo:clean` -\u003e clean repository\n- `npm run repo:init` -\u003e initialise repository\n- `npm run repo:status` -\u003e changes local vs staging vs comitted\n- `npm run repo:add` -\u003e add files to staging\n- `npm run repo:commit` -\u003e commit staged changes\n- `npm run repo:diff` -\u003e show changes for file against that comitted **TODO**\n\n## Files\n\n- `/src` -\u003e location of working directory / application\n- `/bin` -\u003e location of version control\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraigtaub%2Four-own-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraigtaub%2Four-own-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraigtaub%2Four-own-git/lists"}