{"id":20810057,"url":"https://github.com/schwa/multigit-rs","last_synced_at":"2025-05-07T08:11:54.011Z","repository":{"id":257619114,"uuid":"858892701","full_name":"schwa/multigit-rs","owner":"schwa","description":"A CLI tool to manage multiple Git repositories simultaneously.","archived":false,"fork":false,"pushed_at":"2025-04-08T20:45:31.000Z","size":286,"stargazers_count":29,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T19:22:32.996Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/schwa.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}},"created_at":"2024-09-17T18:00:37.000Z","updated_at":"2025-04-08T20:45:35.000Z","dependencies_parsed_at":"2024-09-17T19:49:43.753Z","dependency_job_id":"c0fa5b18-be45-4f9a-8e7e-686b3564de43","html_url":"https://github.com/schwa/multigit-rs","commit_stats":null,"previous_names":["schwa/multigit-rs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fmultigit-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fmultigit-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fmultigit-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fmultigit-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schwa","download_url":"https://codeload.github.com/schwa/multigit-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252839294,"owners_count":21812090,"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":[],"created_at":"2024-11-17T20:19:12.620Z","updated_at":"2025-05-07T08:11:53.993Z","avatar_url":"https://github.com/schwa.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multigit\n\nMultigit is a powerful command-line interface (CLI) tool designed to manage multiple Git repositories simultaneously. It streamlines common Git operations across multiple projects, saving time and effort for developers working with multiple repositories.\n\n**Note: This project is currently in progress and may not work properly. Use at your own risk.**\n\n## Features\n\n- Perform Git operations (status, add, commit, push, pull) on multiple repositories at once\n- Execute custom commands across selected repositories\n- List and manage registered repositories\n- Filter repositories for specific operations\n- Open the configured Git UI program for selected repositories\n- Easy registration and unregistration of repositories\n\n## Installation\n\nMultigit is a Rust project that can be installed using Cargo, the Rust package manager. Follow these steps to install Multigit:\n\n1. If you don't have Rust and Cargo installed, first install them by following the instructions at [https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install).\n\n2. Once Rust and Cargo are installed, you can install Multigit directly from the GitHub repository:\n\n   ```sh\n   cargo install --git https://github.com/schwa/multigit-rs\n   ```\n\n   This command will download the source code, compile it, and install the `multigit` binary in your Cargo bin directory (usually `~/.cargo/bin/`).\n\n3. Ensure that your Cargo bin directory is in your system's PATH.\n\nAlternatively, if you want to contribute or modify the code:\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/schwa/multigit-rs.git\n   cd multigit-rs\n   ```\n\n2. Build and install from the local source:\n\n   ```sh\n   cargo install --path .\n   ```\n\nAfter installation, you can run `multigit --version` to verify that it's installed correctly.\n\n## Repository Management\n\n### Registering Repositories\n\nTo start using Multigit, you first need to register your Git repositories:\n\n```sh\nmultigit register \u003cPATH\u003e\n```\n\nThe `\u003cPATH\u003e` can be:\n\n- A direct path to a Git repository\n- A path to a directory containing one or more Git repositories\n\nIf you provide a directory path, Multigit will recursively search for all Git repositories within that directory and register them.\n\nExample:\n```sh\nmultigit register ~/projects/repo1 ~/projects/repo2 ~/all-projects\n```\n\n### Unregistering Repositories\n\nTo remove repositories from Multigit's management:\n\n```sh\nmultigit unregister \u003cPATH\u003e\n```\n\nSimilar to the register command, `\u003cPATH\u003e` can be a direct path to a Git repository or a directory. If a directory is provided, all registered repositories within that directory will be unregistered.\n\nTo unregister all repositories at once:\n\n```sh\nmultigit unregister --all\n```\n\n### Listing Repositories\n\nTo confirm whether repositories are registered or to see all managed repositories:\n\n```sh\nmultigit list\n```\n\nThis command is useful to verify if a repository was successfully registered or unregistered.\n\n## Common Git Operations\n\nMultigit provides the following commands for managing your repositories:\n\n```sh\nmultigit [COMMAND] [OPTIONS]\n```\n\n### Commands:\n\n- `status`: Show the status of repositories\n- `add`: Add files to the staging area in selected repositories\n- `commit`: Commit changes in selected repositories\n- `push`: Push changes to remote repositories\n- `pull`: Pull changes from remote repositories\n- `exec`: Execute a custom command in selected repositories\n- `ui`: Open the configured Git UI program for selected repositories\n\n### Options:\n\nMost commands support the following option:\n\n- `--filter \u003cFILTER\u003e`: Apply filters to select specific repositories\n\n### Examples:\n\n1. Check status of all repositories:\n   ```sh\n   multigit status\n   ```\n\n2. Check status of dirty repositories:\n   ```sh\n   multigit status --filter dirty\n   ```\n\n3. Commit changes in dirty repositories:\n   ```sh\n   multigit commit --filter dirty -m \"Update documentation\"\n   ```\n\n4. Pull changes in dirty repositories:\n   ```sh\n   multigit pull --filter dirty\n   ```\n\n5. Execute a custom command in dirty repositories:\n   ```sh\n   multigit exec --filter dirty -- git log --oneline -n 5\n   ```\n\n## Configuration\n\nMultigit can be configured by editing the TOML file located at `~/.config/multigit/config.toml`.\n\n[Add more details about configuration options and their effects]\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Author\n\nJonathan Wight\n\n## Version\n\n0.1\n\nFor more detailed information on each command and its options, use the `--help` flag:\n\n```sh\nmultigit --help\nmultigit [COMMAND] --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwa%2Fmultigit-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschwa%2Fmultigit-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwa%2Fmultigit-rs/lists"}