# Submodule Push

> Push submodule changes to its fork. Use when you've made changes inside a submodule (hive or core-geth) and need to push them.

- Skill: `majiayu000/submodule-push` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/submodule-push`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/submodule-push/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/submodule-push

---


# Push Submodule Changes

Push changes from a submodule to its remote fork.

## Arguments

- `$0`: Submodule name (`hive` or `core-geth`)

## Authorized Repositories

These are the forks we can push to:

- `IstoraMandiri/hive` (Hive fork)
- `IstoraMandiri/core-geth` (core-geth fork)

## Workflow

1. Navigate into the submodule directory specified by `$0`
2. Check git status to confirm there are commits to push
3. Determine the current branch name
4. Push to origin: `git push -u origin <branch>`
5. Return to the parent directory
6. Remind user to update the parent repo's submodule reference if needed:
   ```bash
   git add $0
   git commit -m "Update $0 submodule reference"
   ```

## Example Usage

```
/submodule-push hive
/submodule-push core-geth
```

