Skip to content

Support Git Submodules in Extensions #18385

Description

@thoreinstein

What would you like to be added?

I would like to add support for recursive cloning and initialization of Git submodules when installing extensions via gemini extensions install <url>.

Why is this needed?

Currently, if an extension developer uses Git submodules to manage shared logic, libraries, or assets, the install command only performs a top-level clone. This leaves the submodule directories empty, resulting in a broken extension that requires manual user intervention (finding the hidden install directory and running git commands) to fix.

Supporting submodules out-of-the-box would allow for more modular extension development and a seamless experience for users.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/extensionsIssues related to Gemini CLI extensions capabilityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!status/possible-duplicate

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions