返回 Skill 列表
extension
分类: 开发与工程无需 API Key

submodule-push

将子模块的更改推送到其分支。当您在子模块(如hive或core-geth)中进行了更改并需要推送这些更改时使用。

person作者: jakexiaohubgithub

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:
    git add $0
    git commit -m "Update $0 submodule reference"
    

Example Usage

/submodule-push hive
/submodule-push core-geth