Git Submodule Fork Reconfigure

Community

Resolve submodule write access by forking remotes

AuthorBaneeishaque
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fork submodules on the fly and reconfigure remotes to regain write access when pushes fail due to permissions.

Core Features & Use Cases

  • Forking Upstream: Create a personal fork of the submodule to gain write access while preserving the upstream as a reference.
  • Remote Reconfiguration: Rename origin to upstream and add a new origin pointing to your fork, then push with tracking.
  • Parent Repo Alignment: Update .gitmodules and sync submodules to reflect the new fork.

Quick Start

Run the workflow to fork the upstream and reconfigure remotes to point submodules to your personal fork.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Git Submodule Fork Reconfigure
Download link: https://github.com/Baneeishaque/ai-suite/archive/main.zip#git-submodule-fork-reconfigure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.