{"id":16400676,"url":"https://github.com/maraisr/git-remote-fetcher","last_synced_at":"2026-05-19T07:08:43.466Z","repository":{"id":66136591,"uuid":"208995204","full_name":"maraisr/git-remote-fetcher","owner":"maraisr","description":"A tool to help me keep my git remote's synced","archived":false,"fork":false,"pushed_at":"2020-10-06T00:46:25.000Z","size":62,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-18T04:18:49.681Z","etag":null,"topics":["cronjob","dx","git","libgit2","tooling"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/maraisr.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},"funding":{"github":"maraisr"}},"created_at":"2019-09-17T08:06:02.000Z","updated_at":"2023-07-27T12:05:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"74e5a93f-fb49-4889-8041-b7c7242b97c8","html_url":"https://github.com/maraisr/git-remote-fetcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maraisr/git-remote-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraisr%2Fgit-remote-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraisr%2Fgit-remote-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraisr%2Fgit-remote-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraisr%2Fgit-remote-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maraisr","download_url":"https://codeload.github.com/maraisr/git-remote-fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraisr%2Fgit-remote-fetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33205636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cronjob","dx","git","libgit2","tooling"],"created_at":"2024-10-11T05:28:23.027Z","updated_at":"2026-05-19T07:08:43.429Z","avatar_url":"https://github.com/maraisr.png","language":"Rust","funding_links":["https://github.com/sponsors/maraisr"],"categories":[],"sub_categories":[],"readme":"# git-remote-fetcher(1) -- recursively fetches remote origins\n\n\u003e A utility that fetches all remotes for all git roots south of a given\n\u003e location.\n\n## :ok_hand: Why\n\nAs a high paced engineer working on many git repos I faced an annoying problem;\nmost companies I work for enforce up to date heads when pushing branches. This,\nand I am one of those infamous rebase'ers, which is not a problem if you are the\nonly author of a branch. But, sometimes there is more than one collaborator. I\nalso found myself git committing, then pushing only for the remote to reject it.\n\nSo, I ran up a quick and dirty crontab to git fetch some of my repos every five\nminutes, and with fishshell's help, I got instant feedback when my head was out\nof date.\n\nThis software wraps that idea in tool-form. I hope to grow this tool while\nlearning rust along the way.\n\n## :dragon_face: Usage\n\nSupply a starting point where it will traverse down and collect every directory\nthat is a git root.\n\n```sh\ngit-remote-fetcher \u003cLOCATION\u003e\n```\n\nIf you're repo are using the username/password clone, you have to be using a\ncredentials manager. Please see\n[Caching your GitHub password in Git](https://help.github.com/en/github/using-git/caching-your-github-password-in-git)\non how to enable that. Even if you're not using GitHub the process still\napplies.\n\n## :bow: Ambition\n\n- [ ] Support glob style for directory, ie `git-remote-fetcher '~/{dev,sites}'`\n- [ ] Perhaps be a daemon itself, rather than run it in crontab?\n- [ ] async or thread each fetcher, rather than waterfall\n- [ ] Add in a .ignore type file, to specify either repos or directories to not\n      fetch\n- [ ] Specify which origins, rather than _all_ like it is now\n- [ ] When an error happens, depending on where, we shouldn't fail there, but\n      exit 1. ie try everything, and panic at the end maybe\n\n## :poop: Known issues\n\n- Windows users\n  [have to use Pageant](https://github.com/libssh2/libssh2/blob/81b2548fef64f1d278ac02ff27aa0055b84c3776/src/agent.c#L277-L279)\n  for SSH\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaraisr%2Fgit-remote-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaraisr%2Fgit-remote-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaraisr%2Fgit-remote-fetcher/lists"}