{"id":16712759,"url":"https://github.com/aead/isgit","last_synced_at":"2026-05-17T21:03:52.026Z","repository":{"id":65298985,"uuid":"303346563","full_name":"aead/isgit","owner":"aead","description":"CLI tool that filters and outputs paths to git repositories","archived":false,"fork":false,"pushed_at":"2020-10-12T11:49:09.000Z","size":153,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-21T20:48:26.308Z","etag":null,"topics":["cli","find","fzf","git","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aead.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-12T09:45:59.000Z","updated_at":"2023-02-13T19:58:56.000Z","dependencies_parsed_at":"2023-01-16T15:15:25.547Z","dependency_job_id":null,"html_url":"https://github.com/aead/isgit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fisgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fisgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fisgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fisgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aead","download_url":"https://codeload.github.com/aead/isgit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685658,"owners_count":20330996,"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":["cli","find","fzf","git","go"],"created_at":"2024-10-12T20:43:59.189Z","updated_at":"2026-05-17T21:03:46.986Z","avatar_url":"https://github.com/aead.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## isgit(1)\n\n`isgit` is a small command-line tool that consumes a list of file paths and outputs all paths\nthat point to a git repository.\n\n```\nUsage:\n    isgit [-o OUTPUT] [PATH ...]\n \nOptions:\n    -o, --output OUTPUT         Write the result to the file at path OUTPUT.\n\nisgit iterates over all PATH arguments and writes any PATH that\npoints to a git repository (containing a '.git' subdirectory) to\nOUTPUT.\nisgit reads a list of file paths from standard input if no PATH\nargument(s) have been provided or when one PATH is '-'.\n\nOUTPUT defaults to standard output.\n```\n\n### Example\n\nFilter all paths that are git repositories:\n```sh\nisgit $HOME/project $HOME/my-repo\n```\n\nFind all git repositories under `$HOME` using [`fd`](https://github.com/sharkdp/fd) or GNU `find`:\n```sh\nfd -HL -t d \".\"  \"$HOME\" | isgit\n```\n```sh\nfind -L \"$HOME\" -type d | isgit\n```\n\u003e The output of both commands may differ because `fd` honors ignore files. See `fd --help`\n\nFuzzy-search all git repositories under `$HOME` using [`fzf`](https://github.com/junegunn/fzf)\nand [`fd`](https://github.com/sharkdp/fd) and show a commit history preview:\n```sh\nfd -H -L -t d \".\"  \"$HOME\" | isgit | fzf \\\n  --height 100% --reverse --border --preview-window right:50% \\\n  --preview 'git -C {} log --color=always --pretty=oneline --abbrev-commit'\n``` \n\n![Example](example.png)\n\n### Install\n\n#### Binary Releases\n\n| OS      | Arch  | Binary                                                                                                    |\n|---------|-------|-----------------------------------------------------------------------------------------------------------|\n| Linux   | amd64 | [isgit-linux-amd64](https://github.com/aead/isgit/releases/latest/download/isgit-linux-amd64)             |\n| MacOS   | amd64 | [isgit-darwin-amd64](https://github.com/aead/isgit/releases/latest/download/isgit-darwin-amd64)           |\n| Windows | amd64 | [isgit-windows-amd64.exe](https://github.com/aead/isgit/releases/latest/download/isgit-windows-amd64.exe) |\n| FreeBSD | amd64 | [isgit-freebsd-amd64](https://github.com/aead/isgit/releases/latest/download/isgit-freebsd-amd64)         |\n|         |       |                                                                                                           |\n| Linux   | arm   | [isgit-linux-arm](https://github.com/aead/isgit/releases/latest/download/isgit-linux-arm)                 |\n| Linux   | arm64 | [isgit-linux-arm64](https://github.com/aead/isgit/releases/latest/download/isgit-linux-arm64)             |\n\n#### Download via cURL\n\n| OS      | Arch  | cURL Command                                                                                                     |\n|---------|-------|------------------------------------------------------------------------------------------------------------------|\n| Linux   | amd64 | `curl -SL --tlsv1.2 -o isgit https://github.com/aead/isgit/releases/latest/download/isgit-linux-amd64`           |\n| MacOS   | amd64 | `curl -SL --tlsv1.2 -o isgit https://github.com/aead/isgit/releases/latest/download/isgit-darwin-amd64`          |\n| Windows | amd64 | `curl -SL --tlsv1.2 -o isgit.exe https://github.com/aead/isgit/releases/latest/download/isgit-windows-amd64.exe` |\n| FreeBSD | amd64 | `curl -SL --tlsv1.2 -o isgit https://github.com/aead/isgit/releases/latest/download/isgit-freebsd-amd64`         |\n|         |       |                                                                                                                  |\n| Linux   | arm   | `curl -SL --tlsv1.2 -o isgit https://github.com/aead/isgit/releases/latest/download/isgit-linux-arm`             |\n| Linux   | arm64 | `curl -SL --tlsv1.2 -o isgit https://github.com/aead/isgit/releases/latest/download/isgit-linux-arm64`           |\n\n#### From Source\n\n```sh\ngo get github.com/aead/isgit\n```\n\n### License\n\nUse of `isgit` is governed by the MIT license that can be found in the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fisgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faead%2Fisgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fisgit/lists"}