{"id":19238925,"url":"https://github.com/aelesbao/git-recursive","last_synced_at":"2025-04-21T07:31:54.265Z","repository":{"id":144759156,"uuid":"105145990","full_name":"aelesbao/git-recursive","owner":"aelesbao","description":"Execute git operations in multiple repositories","archived":false,"fork":false,"pushed_at":"2021-11-11T20:08:13.000Z","size":37,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T10:51:23.626Z","etag":null,"topics":["bash","git","tools"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/aelesbao.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-28T12:34:03.000Z","updated_at":"2022-05-27T04:15:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"273d883d-7d69-4f7e-b2c3-2de424276497","html_url":"https://github.com/aelesbao/git-recursive","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelesbao%2Fgit-recursive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelesbao%2Fgit-recursive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelesbao%2Fgit-recursive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelesbao%2Fgit-recursive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aelesbao","download_url":"https://codeload.github.com/aelesbao/git-recursive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250014693,"owners_count":21360996,"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":["bash","git","tools"],"created_at":"2024-11-09T16:35:13.025Z","updated_at":"2025-04-21T07:31:54.254Z","avatar_url":"https://github.com/aelesbao.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-recursive\n\nAn easy way to execute git operations in multiple repositories. Useful when you want to keep all your repos up-to-date.\n\nImagine you want to sync your local repositores and those are organised like this:\n\n```\n~/workspace\n  /repo-group-1\n    /repo1\n    /repo2\n    /repo3\n  /repo-group-2\n    /repo1\n    /repo2\n```\n\nInstead of going into each of them and doing a `git pull`, with git-recursive you can just execute:\n\n```bash\ngit recursive repo-group-1 pull\n```\n\n## Installation\n\n### Mac OS\n\n```bash\nbrew install aelesbao/tools/git-recursive\n```\n\n### Building from source\n\nObtain the git-recursive source by cloning this repository or downloading a tarball of a [release](https://github.com/aelesbao/git-recursive/releases). Then install it by doing `make install` from the source tree.\n\n```bash\ngit clone https://github.com/aelesbao/git-recursive.git\ncd git-recursive\n# checkout the latest tag\ngit checkout $(git describe --tags $(git rev-list --tags --max-count=1))\n[sudo] make install\n```\n\nBy default, git-recursive is installed under `/usr/local`. To install it at an alternate location, specify a `PREFIX` when calling `make`.\n\n```bash\nmake install PREFIX=$HOME/software\n```\n\n## Setup\n\ngit-recursive uses your `.gitconfig` file to store the path to a repository root, called `workspace`. To configure it, you should run:\n\n```bash\ngit recursive add repo-group-1 ~/workspace/repo-group-1\n```\n\n\u003e Mutiples workspaces are supported. Just add them as you want.\n\nAny command issued on a workspace will be forwarded to its child repositories:\n\n```bash\ngit recursive repo-group-1 status\n```\n\nTo list the registered workspaces:\n\n```bash\ngit recursive list\n```\n\n## Usage\n\n```\nusage: git recursive [\u003coptions\u003e] \u003csubcommand\u003e|(\u003cworkspace\u003e \u003cgitcommand\u003e)\n\nAvailable options are:\n  --no-color        Do not colorize output\n  -h|--help         Prints this message\n  -v|--version      Prints the plugin version\n\nAvailable subcommands are:\n  list                      Lists registered workspaces\n  add \u003cworkspace\u003e \u003cpath\u003e    Adds or updates a workspace path\n  rm \u003cworkspace\u003e            Removes a workspace\n\nRunning commands in a workspace:\n  \u003cworkspace\u003e \u003cgitcommand\u003e  Executes a git command on all repositories inside\n                            the workspace\n```\n\n## License\n\n**MIT License**\n\nCopyright (c) 2021\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelesbao%2Fgit-recursive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faelesbao%2Fgit-recursive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelesbao%2Fgit-recursive/lists"}