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 ★
- Push And Release — Git pull, resolve conflicts, push, fix hook errors, then release 1.6k ★
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
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
Release Pangaealabs Plugin
Release a new version of one of the plugins in this marketplace: validate, bump the named plugin's version, co
Related Agents
.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
GitHub
GitHub issue and PR workflow. Create/list/update issues, manage labels, create PRs, create branches. Use for a