Engineering
submodule-push avatar

submodule-push

Pushes local changes in git submodules (hive or core-geth) to their respective remote forks, ensuring repository synchronization.

Introduction

This skill is a specialized utility for managing multi-repository workspaces in the ETC Nexus environment. It is designed for developers working on Ethereum Classic protocol modifications who need to coordinate changes between the parent project and its integrated submodules, specifically Hive and core-geth. By automating the transition into the submodule directory, the verification of git status, and the execution of push operations, the agent minimizes manual context switching and potential path errors during development cycles. It is intended for use after a developer has committed changes to a submodule and needs to sync these updates with the IstoraMandiri forks.

  • Automatically navigates into specified submodules (hive or core-geth) to perform git operations.

  • Performs safety checks to verify that the target repository is an authorized fork (IstoraMandiri/hive or IstoraMandiri/core-geth).

  • Pushes local commits to the remote tracking branch using the -u flag.

  • Returns the working directory to the project root automatically upon completion.

  • Provides a necessary reminder to update the parent repository's submodule reference pointer after the push.

  • Requires the submodule name as an argument: hive or core-geth.

  • Only authorized for specific forks to prevent accidental upstream corruption.

  • Ensure you have the necessary git remote permissions configured before execution.

  • Always remember to run git add [submodule] in the root directory following this script to ensure the parent project's reference remains accurate to your latest submodule commit.

  • This skill is strictly for syncing git state; it does not compile code or run test suites.

Repository Stats

Stars
0
Forks
0
Open Issues
0
Language
Shell
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 07:26 PM
View on GitHub