{"id":30850725,"url":"https://github.com/saswatamcode/submoduler","last_synced_at":"2025-10-08T05:32:28.083Z","repository":{"id":312117551,"uuid":"1046385433","full_name":"saswatamcode/submoduler","owner":"saswatamcode","description":"WIP vibecoded tool (need to review)","archived":false,"fork":false,"pushed_at":"2025-08-28T16:07:04.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-28T23:04:02.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saswatamcode.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,"zenodo":null}},"created_at":"2025-08-28T15:56:31.000Z","updated_at":"2025-08-28T16:29:27.000Z","dependencies_parsed_at":"2025-08-28T23:04:10.160Z","dependency_job_id":"442a4ac6-1c6b-4b44-8e2c-260ec0004d36","html_url":"https://github.com/saswatamcode/submoduler","commit_stats":null,"previous_names":["saswatamcode/submoduler"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/saswatamcode/submoduler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsubmoduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsubmoduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsubmoduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsubmoduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saswatamcode","download_url":"https://codeload.github.com/saswatamcode/submoduler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsubmoduler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274002938,"owners_count":25205517,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2025-09-07T06:15:50.394Z","updated_at":"2025-10-08T05:32:23.052Z","avatar_url":"https://github.com/saswatamcode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# submoduler\n\n\u003e [!NOTE]\n\u003e This entire Go module was generated by Google's Gemini AI initially. While it has been tested/reviewed for the described functionality, it may still contain unexpected behaviors. Use with discretion.\n\nA simple, zero-dep robust command-line tool for updating Git submodules with ease.\n\n`submoduler` is a smart utility that handles the common pain points of managing Git submodules. It ensures your submodules are initialized, fetches the latest changes, and updates them either to their latest tracked commit or to a specific commit, tag, or branch you define.\n\n## Features\n\n* **Automatic Initialization**: Clones and initializes any missing submodules before starting.\n\n* **Safe Default Updates**: Updates submodules to the latest commit on their tracked remote branch, correctly handling \"detached HEAD\" states.\n\n* **Specific Version Pinning**: Easily check out a specific commit hash, release tag, or branch for any submodule.\n\n* **Cloning Progress**: Shows real-time progress when cloning new submodules.\n\n* **Verbose Output**: Optional `-v` flag to see the underlying Git commands being executed.\n\n## Installation\n\nEnsure you have Go installed and your `$GOPATH/bin` (or `$HOME/go/bin`) is in your system's `PATH`.\n\n```bash\ngo install github.com/saswatamcode/submoduler@latest\n\n```\n\n## Usage\n\nRun the tool from the root directory of your Git repository.\n\n```bash\nsubmoduler [flags] [submodule1=ref] [submodule2=ref] ...\n\n```\n\n### Options\n\n* `-v`: Enable verbose mode to show all Git commands being run.\n\n### Arguments\n\n* **`[submodule_path=ref]`** (Optional): Specify a target for one or more submodules.\n\n  * `submodule_path`: The relative path to the submodule.\n\n  * `ref`: The Git reference to check out (can be a commit hash, tag, or branch name).\n\nIf no arguments are provided, `submoduler` will update all submodules to the latest commit on their respective tracked branches.\n\n### Examples\n\n**1. Update all submodules to their latest versions:**\n\n```bash\nsubmoduler\n```\n\n**2. Update a specific submodule to a release tag:**\n\n```bash\nsubmoduler path/to/my-lib=v2.5.1\n```\n\n**3. Update multiple submodules to different refs:**\n\n```bash\nsubmoduler libs/api=a1b2c3d4 common/utils=main\n\n```\n\n**4. Update all submodules with verbose output:**\n\n```bash\nsubmoduler -v\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaswatamcode%2Fsubmoduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaswatamcode%2Fsubmoduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaswatamcode%2Fsubmoduler/lists"}