{"id":17131322,"url":"https://github.com/dfithian/hit","last_synced_at":"2025-04-13T07:49:34.670Z","repository":{"id":46085718,"uuid":"245893867","full_name":"dfithian/hit","owner":"dfithian","description":"A tool for managing multiple git repositories","archived":false,"fork":false,"pushed_at":"2021-11-15T16:15:30.000Z","size":26,"stargazers_count":25,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T07:49:31.394Z","etag":null,"topics":["git","haskell"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/dfithian.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-03-08T21:54:27.000Z","updated_at":"2022-07-18T03:36:48.000Z","dependencies_parsed_at":"2022-09-06T06:50:17.702Z","dependency_job_id":null,"html_url":"https://github.com/dfithian/hit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfithian%2Fhit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfithian%2Fhit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfithian%2Fhit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfithian%2Fhit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfithian","download_url":"https://codeload.github.com/dfithian/hit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681494,"owners_count":21144700,"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","haskell"],"created_at":"2024-10-14T19:23:14.267Z","updated_at":"2025-04-13T07:49:34.643Z","avatar_url":"https://github.com/dfithian.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hit\n\nAlmost everyone I know stores their git repositories in a single folder on their local machine.\n\n`hit` is a multi-repo-agnostic version of `git`, which will use its working directory to figure out how many git\nrepositories are directly under it. Invoke it like you would `git`, and it will invoke the correct version of `git`\nunder the hood. This means it can do things like:\n\n* Ensuring all your branches have the same name: `hit checkout -b \u003cmy-branch\u003e`\n* Listing files: `hit ls-files`\n* Checking the status of a few repositories in a project: `hit backend status`\n\n## Quick start\n\n```bash\ncurl -sSL https://get.haskellstack.org/ | sh\ngit clone https://github.com/dfithian/hit.git\ncd hit\nstack install # and add ~/.local/bin to your $PATH\nhit ls-files\n```\n\nThat's it! Running `hit` in any directory will discover subdirectory git repositories.\n\n## Projects\n\nIn order to manage groups of projects together, create a `~/.config/hit/config` file with the following schema:\n\n```yaml\nfullstack:\n  home: ~/work/git\n  dirs:\n    - frontend-repo\n    - backend-repo\n```\n\nNow you can use `hit` on the project named `fullstack` from anywhere on your machine:\n\n```bash\nhit fullstack status\n```\n\n## Supported commands\n\nAnything that works with `git` works with `hit`. That said, these are the list of _tested_ commands.\n\n* `ls-files`\n* `status`\n* `diff`\n* `commit`\n* `checkout`\n* `branch`\n* `pull`\n* `push`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfithian%2Fhit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfithian%2Fhit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfithian%2Fhit/lists"}