Update Submodules — Git skill for Claude Code
Update the branches/ release submodules to the latest commit of their tracked.
How to install Update Submodules
Installs to ~/.claude/commands/openshift-lightspeed-console-update-submodules.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/openshift/lightspeed-console/HEAD/.claude/commands/update-submodules.md -o ~/.claude/commands/openshift-lightspeed-console-update-submodules.md Restart Claude Code, or start a new session, for it to be picked up.
What Update Submodules does
Update the `branches/` release submodules to the latest commit of their tracked branches.
The submodules are defined only on `main` (`.gitmodules` maps `branches/pf5` → `pattern-fly-5` and `branches/4-19` → `release-4.19`).
- Verify the working tree is clean. If it isn't, stop and report the dirty files so the user can decide what to do
- Check out
mainand make sure it's up to date (git checkout main) - Create and switch to a branch named
update-submodules(`git checkout -b upd
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Taskflow Update
Update the taskflow-mcp binary to the latest GitHub release
Mise Clean
Sweep the project for hygiene cruft — junk tracked in git, backup/scratch files, stale branches and orphaned w
n8n Branch
List tracked workflow branches or create a new one
Submodules
Check for upstream updates, sync forks, and update git submodules (cproc, qbe, wla-dx)
Ship Improvements
Implement every open row in IMPROVEMENTS.md, close them, update the docs, verify, commit, push, wait for CI gr
X Release
Release automation — detect changes, bump versions, update marketplace.json, commit, push
Related Agents
Backlog Keeper
Syncs the Network Expansion GitHub project board with the state of branches and PRs. Use when a tracked phase
.github/workflows/ci Cd.yml
name: CI/CD Pipeline on: push: branches: [main, develop] pull_request: branches: [main] jobs: lint: runs-on: u
CI Currency
CI/CD & release-engineering currency expert. Researches latest GitHub Actions, runner images, CodeQL, base-ima