SIGNAL SERIES · REFERENCE
Command Cheatsheet
Every command used across the labs and guides, grouped by tool. Copy-paste ready; details live in the linked chapters.
Git
npm / Builds
Docker / GHCR
Jenkins (Compose lab)
Jenkins backup
V4 · 2026 · REFERENCE · verified 2026-09-18
Contents
Table of Contents
03Git0304npm / Builds0405Docker / GHCR0506Jenkins (Compose lab)0607Jenkins backup0708GitHub Actions snippets0809Interview Notes0910Related Topics10
How to use this book legend
NOTE · context
KEY · must retain
WATCH OUT · gotcha
VERIFIED · check
NOTERead cover to cover once, then use the Contents to jump. Every chapter ends with a 🎓 EXAM box — if you can answer it cold, move on.
REFERENCE
Git
git checkout -b feat/x # short branch, merge daily git push -u origin feat/x gh pr create --fill # PR with CI gate
See also: Git, Branching & Pull Requests.
REFERENCE
npm / Builds
npm ci # lockfile-exact install (CI only) npm test ./gradlew build # wrapper pins toolchain
See also: Build Systems.
REFERENCE
Docker / GHCR
docker build -t ghcr.io/OWNER/APP:sha-SHORT . docker push ghcr.io/OWNER/APP:sha-SHORT docker pull ghcr.io/OWNER/APP:sha-SHORT # same digest everywhere
See also: Artifact Management.
Threads: Artifact Digest
REFERENCE
Jenkins (Compose lab)
docker compose up -d docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword docker compose stop jenkins # before backup docker compose down -v # destroy everything
See also: Lab 06, Lab 08.
REFERENCE
Jenkins backup
docker run --rm -v LAB_jenkins_home:/data -v "$PWD":/out alpine \ tar czf /out/jenkins-backup.tar.gz -C /data .
See also: Jenkins Advanced.
REFERENCE
GitHub Actions snippets
runs-on: ubuntu-latest
needs: build # DAG edge
permissions: { packages: write }
environment: production # approval gateSee also: GitHub Actions.
Threads: Approval Gates
REFERENCE
Interview Notes
- Reproduce any pipeline in this file from memory: trigger, build, gate, promote, rollback.
- Which snippet pins versions — and what breaks first when nothing is pinned.
- Where the approval gate lives in each platform's snippet, and what happens without it.
Threads: Approval Gates
REFERENCE
Related Topics
- [Topic Index](../TOPIC_INDEX.md)
- [Glossary](../GLOSSARY.md)
⏭️ Cycle back: Start Here: Foundations, Git & CI