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